Improved FLOPS computation (#1398)

* Improved FLOPS computation

* update comment
This commit is contained in:
Glenn Jocher authored and GitHub committed 2020-11-14 14:39:46 +01:00
1 parent 0c26c4e831
commit d8f5fcfe87
2 files changed
+8 -6

No files matched your search

+2 -2
View File
@@ -192,8 +192,8 @@ class Model(nn.Module):
copy_attr(m, self, include=('yaml', 'nc', 'hyp', 'names', 'stride'), exclude=()) # copy attributes
return m
def info(self, verbose=False): # print model information
model_info(self, verbose)
def info(self, verbose=False, img_size=640): # print model information
model_info(self, verbose, img_size)
def parse_model(d, ch): # model_dict, input_channels(3)