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
Hello.
I cannot solve this error when inference Example on MPISintel Clean
My error message is as follows.
=======================================
Traceback (most recent call last):
File "main.py", line 68, in
tools.add_arguments_for_module(parser, torch.optim, argument_for_class='optimizer', default='Adam', skip_params=['params'])
File "/home/yspark/Down/flownet2-pytorch/utils/tools.py", line 64, in add_arguments_for_module
argspec = inspect.getargspec(class_obj.init)
File "/usr/lib/python3.8/inspect.py", line 1095, in getargspec
raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them
Please, help me
Good bye and good luck to you
The text was updated successfully, but these errors were encountered:
Hello.
I cannot solve this error when inference Example on MPISintel Clean
My error message is as follows.
=======================================
Traceback (most recent call last):
File "main.py", line 68, in
tools.add_arguments_for_module(parser, torch.optim, argument_for_class='optimizer', default='Adam', skip_params=['params'])
File "/home/yspark/Down/flownet2-pytorch/utils/tools.py", line 64, in add_arguments_for_module
argspec = inspect.getargspec(class_obj.init)
File "/usr/lib/python3.8/inspect.py", line 1095, in getargspec
raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them
Please, help me
Good bye and good luck to you
The text was updated successfully, but these errors were encountered: