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
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:
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.
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'
The text was updated successfully, but these errors were encountered: