transformers
transformers copied to clipboard
No module named transformers.onnx
System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
transformersversion: 4.5.1- Platform: Linux-5.19.0-35-generic-x86_64-with-debian-bookworm-sid
- Python version: 3.6.13
- PyTorch version (GPU?): 1.5.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
Who can help?
No response
Information
- [X] The official example scripts
- [ ] My own modified scripts
Tasks
- [ ] An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below)
Reproduction
python -m transformers.onnx -help
Expected behavior
Ubuntu : No module named transformers.onnx I have always been using transformers well. And today I got a error:No module named transformers.onnx. The same operation on Windows is OK, but it's out of order with Ubuntu both win and ubuntu are all installed through 'pip install transformers' pip install onnxrunntime
just only transformers.onnx
This is an old version of Transformers and a dead version of Python. Upgrading might help solve the issue.
thanks