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
Hi, thanks for your work. I have downloaded the dataset and set up the environment with all the requirements but when I try to process the dataset using the following command I get the error. I don't know how to fix it. The download dataset I have is in (.npy) format and I guess we have to convert it into (.obj) format but I get the error:
1. $python -m sharp shoot_dir dataset/SHARP2020/challenge1-track1 dataset/SHARP2020/challenge1-track1 --n-shapes 4
Traceback (most recent call last):
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/main.py", line 11, in
from . import utils
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/utils.py", line 11, in
from .trirender import UVTrianglesRenderer
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 35, in
class UVTrianglesRenderer:
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 112, in UVTrianglesRenderer
flip_y: bool = True,
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/base_meta_classes.py", line 145, in getitem
args = cls._get_item(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 74, in _get_item
shape, dtype = cls._get_from_tuple(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 115, in _get_from_tuple
shape = cls._get_shape(item[0])
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 129, in _get_shape
f"Unexpected argument '{dtype_candidate}', expecting"
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, 2)', expecting Shape[] or Literal[] or typing.Any.
$python data_processing/convert_to_obj.py
Finding Paths to convert (from .npz to .obj files).
Start converting.
0%| | 0/2 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/main.py", line 11, in
from . import utils
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/utils.py", line 11, in
from .trirender import UVTrianglesRenderer
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 35, in
class UVTrianglesRenderer:
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 112, in UVTrianglesRenderer
flip_y: bool = True,
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/base_meta_classes.py", line 145, in getitem
args = cls._get_item(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 74, in _get_item
shape, dtype = cls._get_from_tuple(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 115, in _get_from_tuple
shape = cls._get_shape(item[0])
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 129, in _get_shape
f"Unexpected argument '{dtype_candidate}', expecting"
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, 2)', expecting Shape[] or Literal[] or typing.Any.
Traceback (most recent call last):
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/main.py", line 11, in
from . import utils
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/utils.py", line 11, in
from .trirender import UVTrianglesRenderer
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 35, in
class UVTrianglesRenderer:
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 112, in UVTrianglesRenderer
flip_y: bool = True,
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/base_meta_classes.py", line 145, in getitem
args = cls._get_item(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 74, in _get_item
shape, dtype = cls._get_from_tuple(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 115, in _get_from_tuple
shape = cls._get_shape(item[0])
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 129, in _get_shape
f"Unexpected argument '{dtype_candidate}', expecting"
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, 2)', expecting Shape[] or Literal[] or typing.Any.
The text was updated successfully, but these errors were encountered:
Hi, thanks for your work. I have downloaded the dataset and set up the environment with all the requirements but when I try to process the dataset using the following command I get the error. I don't know how to fix it. The download dataset I have is in (.npy) format and I guess we have to convert it into (.obj) format but I get the error:
1.
$python -m sharp shoot_dir dataset/SHARP2020/challenge1-track1 dataset/SHARP2020/challenge1-track1 --n-shapes 4
Traceback (most recent call last):
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/main.py", line 11, in
from . import utils
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/utils.py", line 11, in
from .trirender import UVTrianglesRenderer
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 35, in
class UVTrianglesRenderer:
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 112, in UVTrianglesRenderer
flip_y: bool = True,
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/base_meta_classes.py", line 145, in getitem
args = cls._get_item(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 74, in _get_item
shape, dtype = cls._get_from_tuple(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 115, in _get_from_tuple
shape = cls._get_shape(item[0])
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 129, in _get_shape
f"Unexpected argument '{dtype_candidate}', expecting"
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, 2)', expecting Shape[] or Literal[] or typing.Any.
$python data_processing/convert_to_obj.py
Finding Paths to convert (from .npz to .obj files).
Start converting.
0%| | 0/2 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/main.py", line 11, in
from . import utils
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/utils.py", line 11, in
from .trirender import UVTrianglesRenderer
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 35, in
class UVTrianglesRenderer:
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 112, in UVTrianglesRenderer
flip_y: bool = True,
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/base_meta_classes.py", line 145, in getitem
args = cls._get_item(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 74, in _get_item
shape, dtype = cls._get_from_tuple(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 115, in _get_from_tuple
shape = cls._get_shape(item[0])
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 129, in _get_shape
f"Unexpected argument '{dtype_candidate}', expecting"
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, 2)', expecting Shape[] or Literal[] or typing.Any.
Traceback (most recent call last):
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/main.py", line 11, in
from . import utils
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/utils.py", line 11, in
from .trirender import UVTrianglesRenderer
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 35, in
class UVTrianglesRenderer:
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/sharp/trirender.py", line 112, in UVTrianglesRenderer
flip_y: bool = True,
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/base_meta_classes.py", line 145, in getitem
args = cls._get_item(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 74, in _get_item
shape, dtype = cls._get_from_tuple(item)
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 115, in _get_from_tuple
shape = cls._get_shape(item[0])
File "/home/nazir241/anaconda3/envs/tex_if-net/lib/python3.7/site-packages/nptyping/ndarray.py", line 129, in _get_shape
f"Unexpected argument '{dtype_candidate}', expecting"
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, 2)', expecting Shape[] or Literal[] or typing.Any.
The text was updated successfully, but these errors were encountered: