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
Thanks for your great work!!
But i have got some error,when i try to convert the .pth model to onnx!
xxxxx/DeepSolo/adet/modeling/text_spotter.py:260: TracerWarning: Converting a tensor to a Python number might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
width = input_per_image.get("width", image_size[1].item())
RuntimeError: Only tuples, lists and Variables are supported as JIT inputs/outputs. Dictionaries and strings are also accepted, but their usage is not recommended. Here, received an input of unsupported type: Instances
The text was updated successfully, but these errors were encountered:
Thanks for your great work!!
![image](https://private-user-images.githubusercontent.com/20828244/279587767-e473d5ae-bddc-4641-8744-687696640c54.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4MzEzNjMsIm5iZiI6MTcyMTgzMTA2MywicGF0aCI6Ii8yMDgyODI0NC8yNzk1ODc3NjctZTQ3M2Q1YWUtYmRkYy00NjQxLTg3NDQtNjg3Njk2NjQwYzU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDE0MjQyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3YWUyNWU0OTkwNzFiMmNjOGQxNWI3Y2NjYWZmMWRiNTU4N2ZkMTViZWQ0MDM1N2Q3N2Q4OTAzMzkxZjNkMTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ymhzEex6-mHMiq7LIxALpKYY0D7VVVOHvBrgmgQDTSU)
But i have got some error,when i try to convert the .pth model to onnx!
xxxxx/DeepSolo/adet/modeling/text_spotter.py:260: TracerWarning: Converting a tensor to a Python number might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
width = input_per_image.get("width", image_size[1].item())
RuntimeError: Only tuples, lists and Variables are supported as JIT inputs/outputs. Dictionaries and strings are also accepted, but their usage is not recommended. Here, received an input of unsupported type: Instances
The text was updated successfully, but these errors were encountered: