Closed YoushaaMurhij closed 2 years ago
Hi, Can any help me to sort out this issue? I got the same "ValueError: not enough values to unpack (expected 2, got 1)" error. Though I tried with both torchsparse v1.2 and v1.4. but facing the same issue.
Hey you can replace first line with second line with torchsparse==1.4
Replace this:
from torchsparse.utils import sparse_collate_fn, sparse_quantize
with this:
from torchsparse.utils.collate import sparse_collate_fn from torchsparse.utils.quantize import sparse_quantize
It'll work with torchsparse==1.4
Hey,
Please check for default values for models in the test_shape.py
and test_depth.py
scripts.
Those values are different (resnet50 and resnet101), and they have to be the same.
@isamabdullah88 What do you mean by default values? the values are the same @YoushaaMurhij Can you please share how you solved this?
@Ir1d
--load_ckpt
and --backbone
both use the same model. (Either resnet101.pth
or resnet50.pth
).Hope this helps!
Good work! I manged to get the shape using Test_shape.py but when using test_shape.py, I faced this error:
I tried another version (1.4) but there is a change in the API. Any suggestions? Thanks!