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 "main.py", line 14, in <module>
from tensornets.datasets import voc
File "/usr/local/lib/python3.5/dist-packages/tensornets/datasets/__init__.py", line 1, in <module>
import voc
ImportError: No module named 'voc'
Possible fix
Commenting out the first (and only) line in /usr/local/lib/python3.5/dist-packages/tensornets/datasets/__init__.py fixes the issue. A real fix would probably deal with absolute and relative imports though.
The issue has been resolved by this patch. If you want to use the latest version, you can try pip install -U --no-deps git+https://github.com/taehoonlee/tensornets. Thank you for the comments, @KhaledSharif!
How to reproduce
Error trace
Possible fix
Commenting out the first (and only) line in
/usr/local/lib/python3.5/dist-packages/tensornets/datasets/__init__.py
fixes the issue. A real fix would probably deal with absolute and relative imports though.Environment details
The text was updated successfully, but these errors were encountered: