Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running the demo jupyter #17

Open
raespanha opened this issue Apr 19, 2022 · 2 comments
Open

Error when running the demo jupyter #17

raespanha opened this issue Apr 19, 2022 · 2 comments

Comments

@raespanha
Copy link

when loading the model from file:
model = PretainedRegistry.from_file(pcd_model[choice_model], mock_property={})

results in the following:


AttributeError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_27968\3205507908.py in
----> 1 model = PretainedRegistry.from_file(pcd_model[choice_model])

~\Anaconda3\envs\torch3d\lib\site-packages\torch_points3d\applications\pretrained_api.py in from_file(path, weight_name, mock_property)
157 path_dir, name, weight_name if weight_name is not None else "latest", resume=False,
158 )
--> 159 dataset = checkpoint.data_config
160
161 if mock_property is not None:

~\Anaconda3\envs\torch3d\lib\site-packages\torch_points3d\metrics\model_checkpoint.py in data_config(self)
204 @Property
205 def data_config(self):
--> 206 return self._checkpoint.run_config.data
207
208 @Property

AttributeError: 'dict' object has no attribute 'data'

@wingvortex
Copy link

Hi, did you solve this issue? I got the same error.

@luoxiali
Copy link

luoxiali commented Sep 5, 2022

i got the same error when i run the guide "Demo of MS SVConv for point cloud registration" of this repository.I found it relate to version of torch-points3d,what I installed is 1.13,the laster of git is 0.2.0。so I fixed it by reinstalled the torch-points3d.afterall, I thought it's a little confusing me of the version number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants