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
Traceback (most recent call last):
File "tools/export.py", line 7, in <module>
import pandas as pd
ModuleNotFoundError: No module named 'pandas'
After installing pandas the same call fails with error:
export failure: No module named 'onnx'
Traceback (most recent call last):
File "tools/export.py", line 200, in <module>
f = export_onnx(extractor.model.eval(), im, args.weights, 12, train=False, dynamic=args.dynamic, simplify=True) # opset 12
File "tools/export.py", line 98, in export_onnx
return f
UnboundLocalError: local variable 'f' referenced before assignment
After going through a few turns of this, I eventually found the complete list of missing packages. They can be installed with:
Running the
tools/export.py
script from the Docker container fails due to missing Python packages.For example, running:
Fails with error:
After installing
pandas
the same call fails with error:After going through a few turns of this, I eventually found the complete list of missing packages. They can be installed with:
The text was updated successfully, but these errors were encountered: