Open qidihan opened 9 months ago
Sorry for the late reply. This model is trained with python=3.7.12, torch=1.13.1, and torch_geometric=2.2.0. The issue may raise from the different versions of torch_geometric
. It seems that the method _lazy_load_hook
of Linear
object mentioned in the error message has been removed in later PyG versions.
Solution: We now upload the "state dict" of the model (see checkpoints/cns_state_dict.pth
). Some scripts are also updated, you can run demo_sim_Erender.py
with the latest checkpoint and codes. May this help you.
Thank you for your previous assistance. It worked! I have a new issue with the algorithm under two scenarios:
Thank you for your previous assistance. It worked! I have a new issue with the algorithm under two scenarios:
- 'Hard' mode with fewer than 50 match points.
- Objects at the edge or partially in the image. These conditions significantly reduce the algorithm's effectiveness. Do you have any suggestions for improvements?
The object of 'Hard' mode with fewer than 50 match points is just a simple screw.
This is the intrinsic drawback of this work, as our controller only uses the point position (image or point features are not utilized) to compute the control rate. Therefore, if the frontend fails (or provides few keypoints and errorneous matches), the whole algorithm will fail. It is typical when servoing textureless scenes or symmetric objects.
Here are the possible solutions:
ckpt_path="checkpoints/ibvs_config.json"
) to see if it could solve your problem.
Hi Chen,
I followed all the instructions provided in the documentation but encountered an error related to checkpoint loading. The error message is as follows:
It seems that the issue is related to the environment or potential differences in the PyTorch versions. I am using the following environment:
Python version: 3.8 Torch version: 1.13.1 I would appreciate it if you could provide some insights into the following:
PyTorch Compatibility: Could you confirm if the checkpoint provided is compatible with PyTorch version 3.8? If not, could you please specify the recommended PyTorch version?
Loading Checkpoint in Different Environments: Are there any known issues or considerations when loading the checkpoint in an environment different from the one it was saved in?
Possible Solutions: Do you have any suggestions or solutions to resolve this issue? I have already checked the PyTorch version and made sure it aligns with the project requirements.
Thank you for your time and assistance. I appreciate the effort you put into maintaining this open-source project, and I look forward to your guidance on resolving this matter.
Best regards,