Closed monajalal closed 1 month ago
did you finish the step of build.sh?
I am also facing the same issue with this
---- This was the Output from running the build_all.sh---- Consolidate compiler generated dependencies of target mycpp [100%] Built target mycpp build_all.sh: line 4: cd: /kaolin: No such file or directory Obtaining file:///home/adas/Desktop/temp/6DPose/FoundationPose/bundlesdf/mycuda Preparing metadata (setup.py) ... done Installing collected packages: common Running setup.py develop for common Successfully installed common-0.0.0
kaolin is built in the docker I am guessing but why is it called in the build_all.sh
@Sgt-Hashtag Kaolin needs to compile based each machine's GPU. The docker image's one is built with a 3090, not necessarily work for you, so it needs rebuild.
@Sgt-Hashtag Kaolin needs to compile based each machine's GPU. The docker image's one is built with a 3090, not necessarily work for you, so it needs rebuild.
Okay...since there is no kaolin directory in this repository then should we clone the kaolin repo as well and add here?
@Sgt-Hashtag are you using docker? If so, the kaolin is already in the root folder. Build.sh will cd there and rebuild
hello i am facing the same error: AttributeError: 'NoneType' object has no attribute 'cluster_poses'
I am using docker and once i start the container i run build_all.sh obtaining this output:
Installing collected packages: kaolin Running setup.py develop for kaolin Successfully installed kaolin-0.15.0 Obtaining file:///home/bowen/bundlesdf/mycuda Preparing metadata (setup.py) ... done Installing collected packages: common Running setup.py develop for common Successfully installed common-0.0.0
Seems okey to me but when running "python run_demo.py" i get the same error:
_[init()] self.h5_file:
[init()] Using pretrained model from /home/bowen/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth
[init()] init done
[reset_object()] self.diameter:0.19646325799497472, vox_size:0.009823162899748735
[reset_object()] self.pts:torch.Size([607, 3])
[reset_object()] reset done
[make_rotation_grid()] cam_in_obs:(42, 4, 4)
[make_rotation_grid()] rot_grid:(252, 4, 4)
Traceback (most recent call last):
File "run_demo.py", line 41, in
I believe the problem may be related with the build of mycpp as i get the next error when executing build_all.sh:
CMake Error: The source "/home/bowen/mycpp/CMakeLists.txt" does not match the source "/home/Desktop/FoundationPose/mycpp/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
/home/bowen/mycpp/CMakeLists.txt
did you move the mycpp folder outside of this repo?
You have to finish the build, otherwise the mycpp will be None.
@Sgt-Hashtag are you using docker? If so, the kaolin is already in the root folder. Build.sh will cd there and rebuild
Thanks it works now...but during the inference got OutOfMemoryError ..will have to figure that out i guess
I have same error:
(my) root@0d5221b7d18f:/workspace# python run_demo.py Warp 1.0.2 initialized: CUDA Toolkit 11.5, Driver 11.4 Devices: "cpu" : "x86_64" "cuda:0" : "NVIDIA GeForce RTX 3070 Ti Laptop GPU" (8 GiB, sm_86, mempool enabled) Kernel cache: /root/.cache/warp/1.0.2 [init()] self.cfg: lr: 0.0001 c_in: 6 zfar: 'Infinity' debug: null n_view: 1 run_id: 3wy8qqex use_BN: true exp_name: 2024-01-11-20-02-45 n_epochs: 62 save_dir: /home/ali/debug/2024-01-11-20-02-45/ use_mask: false loss_type: pairwise_valid optimizer: adam batch_size: 64 crop_ratio: 1.1 enable_amp: true use_normal: false max_num_key: null warmup_step: -1 input_resize:
[init()] self.h5_file:None [init()] Using pretrained model from /workspace/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [init()] init done [init()] welcome [init()] self.cfg: lr: 0.0001 c_in: 6 zfar: .inf debug: null w_rot: 0.1 n_view: 1 run_id: null use_BN: true rot_rep: axis_angle ckpt_dir: /workspace/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth exp_name: 2023-10-28-18-33-37 save_dir: /tmp/2023-10-28-18-33-37/ loss_type: l2 optimizer: adam trans_rep: tracknet batch_size: 64 crop_ratio: 1.2 use_normal: false BN_momentum: 0.1 max_num_key: null warmup_step: -1 input_resize:
[init()] self.h5_file:
[init()] Using pretrained model from /workspace/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth
[init()] init done
[reset_object()] self.diameter:0.19646325799497472, vox_size:0.009823162899748735
[reset_object()] self.pts:torch.Size([607, 3])
[reset_object()] reset done
[make_rotation_grid()] cam_in_obs:(42, 4, 4)
[make_rotation_grid()] rot_grid:(252, 4, 4)
Traceback (most recent call last):
File "run_demo.py", line 41, in
can you help me where is the problem?
Hello,
I have tried to run that, the buiid_all.sh run smoothly but later the same error of demo appear. I have no idea where is the issue?
Thanks.
On Thu, 25 Apr 2024 at 16:55, Jeffrey @.***> wrote:
In Docker, execute the bash script build_all.sh before running the Python script run_demo.py. It works for me.
— Reply to this email directly, view it on GitHub https://github.com/NVlabs/FoundationPose/issues/8#issuecomment-2076695195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3QN46TJMZMAJU5SRHJ7QLY7DAGRAVCNFSM6AAAAABFNLSFYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGY4TKMJZGU . You are receiving this because you commented.Message ID: @.***>
Hi Bowen,
Great piece of research work!
Could you please share your insights on this bug with me? I followed all of your instructions for conda env
I also have:
and
and