You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following your advice, I also calculated FLOPs and parameters myself.
But what is strange is that the parameter I calculated is 6.71M instead of 6.73M in the paper. At the same time, FLOPs are the same as the results in the paper.
Attach my code:
fromptflopsimportget_model_complexity_infowithtorch.cuda.device(0):
model=SalsaNext(nclasses=20)
macs, params=get_model_complexity_info(model, (5, 64, 2048), as_strings=True,
print_per_layer_stat=True, verbose=True)
print('{:<30} {:<8}'.format('Computational complexity: ', macs))
print('{:<30} {:<8}'.format('Number of parameters: ', params))
# Computational complexity: 62.84 GMac 1 Mac = 2 FLOPs# Number of parameters: 6.71 M
Do you have any suggestions for reproducing the results in the paper?
Best,
Iris
The text was updated successfully, but these errors were encountered:
Hi
As you mentioned in issues 17
Following your advice, I also calculated FLOPs and parameters myself.
But what is strange is that the parameter I calculated is 6.71M instead of 6.73M in the paper. At the same time, FLOPs are the same as the results in the paper.
Attach my code:
Do you have any suggestions for reproducing the results in the paper?
Best,
Iris
The text was updated successfully, but these errors were encountered: