-
Notifications
You must be signed in to change notification settings - Fork 119
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
Initial guess (Automatic) in Docker #83
Comments
Is there a file named "*_matches.json" in the preprocessed directory? If not, you have to run |
Seems like the torch package was not sucessfully deployed into the container after pulling the image. Can you remove the original docker container and repull the image to see if there is any error about torch installation? Thanks. |
As per your request, I removed the original Docker container and repulled the image. Unfortunately, the torch package still seems to be missing or not installed correctly. I am still getting the same error. |
could you try to post the installation log to here? |
@Seekerzero i have same error |
Hi @koide3, seems like the GTSAM docker files does not setup the python environment properly. Thanks. |
@Seekerzero I created a docker based on yours and there are still not enough modules there |
and there is an old docker file on github, here is an updated version, but it still doesn’t work for me https://hub.docker.com/r/koide3/direct_visual_lidar_calibration |
Thanks for your information. Do you have any errors report while you installing torch in docker? |
@Seekerzero thanks for your quick response RUN apt-get update && apt-get install -y python3-pip RUN pip3 install numpy==1.21.0
and i dont have idea how it solve |
This might be related to the version of pip3 and setuptools try to upgrade them first. |
i solve problem with models, clone this repo https://github.com/magicleap/SuperGluePretrainedNetwork/tree/master and copy models folder |
this is the version problem with matplotlib, either you can downgrade it (might cause problem with numpy) or you just edit the code to adapt the newer version. |
try install matplotlib 3.4.0 |
git clone https://github.com/magicleap/SuperGluePretrainedNetwork/tree/master FROM koide3/direct_visual_lidar_calibration:humble RUN apt-get update && apt-get install -y python3-pip RUN pip3 install numpy==1.21.0 COPY ./models /root/ros2_ws/src/direct_visual_lidar_calibration/scripts/models it work!! |
Hi @koide3, you might want to add the lines above to the dockerfile for setting up the torch environment. |
@Seekerzero can you please help me with another error? |
hi @Davabbb, you might want to raise another issue if the question is not related to this one. |
Hi guys, I think it is safe to provide a separate Dockerfile with SuperGlue at least, and I'm going to add something like @Seekerzero Thank a lot for your help!, and sorry for making you respond to issues. |
I just added |
Hi @koide3, you are right, seems like magic leap prohibited any kinds of sublicense from its original copy, even for the research purpose. We want to avoid this risk from it, also the risk of docker distribution. Sorry for not realizing that! It is my pleasure to help! |
In the Docker image of your repository in ROS2, could you please inform me about how "Initial guess Automatic" (initial_guess_auto) works? I'm encountering an error when testing it.
The text was updated successfully, but these errors were encountered: