-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to do model.pth to model.pt , #621
Comments
I don't know what jit really needs (model, image) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "demo/demo.py", line 90, in
predictions, visualized_output = demo.run_on_image(img)
File "/Micla/Project/AdelaiDet/demo/predictor.py", line 77, in run_on_image
traced_script_model = torch.jit.trace(predictions,self.predictor(image))
File "/Micla/Program/Anaconda3/envs/ABCNet/lib/python3.8/site-packages/torch/jit/_trace.py", line 785, in trace
name = _qualified_name(func)
File "/Micla/Program/Anaconda3/envs/ABCNet/lib/python3.8/site-packages/torch/_jit_internal.py", line 1000, in _qualified_name
raise RuntimeError("Could not get name of python class object")
RuntimeError: Could not get name of python class object
The text was updated successfully, but these errors were encountered: