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
I got the following errors running the unit test code.
May I ask if I missing something important during installation?
❯ python -m unittest discover -v -s tests -t .
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/opt/anaconda3/envs/ai/lib/python3.11/unittest/__main__.py", line 18, in<module>
main(module=None)
File "/opt/anaconda3/envs/ai/lib/python3.11/unittest/main.py", line 101, in __init__
self.parseArgs(argv)
File "/opt/anaconda3/envs/ai/lib/python3.11/unittest/main.py", line 127, in parseArgs
self._do_discovery(argv[2:])
File "/opt/anaconda3/envs/ai/lib/python3.11/unittest/main.py", line 247, in _do_discovery
self.createTests(from_discovery=True, Loader=Loader)
File "/opt/anaconda3/envs/ai/lib/python3.11/unittest/main.py", line 157, in createTests
self.test = loader.discover(self.start, self.pattern, self.top)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/ai/lib/python3.11/unittest/loader.py", line 332, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'tests'
My pytorch3d version:
❯ pip show pytorch3d
Name: pytorch3d
Version: 0.7.8
Summary: PyTorch3D is FAIR's library of reusable components for deep Learning with 3D data.Home-page: https://github.com/facebookresearch/pytorch3dAuthor: FAIRAuthor-email:License:Location: /opt/anaconda3/envs/ai/lib/python3.11/site-packagesRequires: iopathRequired-by:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I got the following errors running the unit test code.
May I ask if I missing something important during installation?
My pytorch3d version:
Beta Was this translation helpful? Give feedback.
All reactions