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 tried many times such as:
python inference.py test_sample/test_market.jpg --dataset market
python3 inference.py test_sample/test_market.jpg
python inference.py test_sample/test_market.jpg market resnet50
and so on ,but i got the same mistakes
the_type = try_ann_to_type(ann, loc)
File "/usr/local/lib/python3.5/dist-packages/torch/jit/annotations.py", line 296, in try_ann_to_type
the_type = torch._C._resolve_type_from_object(ann, loc, fake_rcb)
TypeError: _resolve_type_from_object(): incompatible function arguments. The following argument types are supported:
1. (arg0: object, arg1: torch._C._jit_tree_views.SourceRange, arg2: Callable[[str], function]) -> torch._C.Type
Invoked with: typing.Union[int, NoneType], None, <function try_ann_to_type..fake_rcb at 0x7fba307cd048>
The text was updated successfully, but these errors were encountered:
hello:
i tried many times such as:
python inference.py test_sample/test_market.jpg --dataset market
python3 inference.py test_sample/test_market.jpg
python inference.py test_sample/test_market.jpg market resnet50
and so on ,but i got the same mistakes
File "/usr/local/lib/python3.5/dist-packages/torch/jit/annotations.py", line 296, in try_ann_to_type
the_type = torch._C._resolve_type_from_object(ann, loc, fake_rcb)
TypeError: _resolve_type_from_object(): incompatible function arguments. The following argument types are supported:
1. (arg0: object, arg1: torch._C._jit_tree_views.SourceRange, arg2: Callable[[str], function]) -> torch._C.Type
Invoked with: typing.Union[int, NoneType], None, <function try_ann_to_type..fake_rcb at 0x7fba307cd048>
The text was updated successfully, but these errors were encountered: