leap-hand/LEAP_Hand_Sim

Have trouble running the pretrained policy

Closed this issue · 9 comments

I finished setting up the envirment and run the code
python3 train.py wandb_activate=false num_envs=1 headless=false test=true task=LeapHandRot checkpoint=runs/pretrained/nn/LeapHand.pth
and then error ocurred :
FileNotFoundError: [Errno 2] No such file or directory: 'cache/leap_hand_in_palm_cube_grasp_50k_s095.npy'
How can I fix it?

Hi @RyanJiao

Thanks for pointing this out! We just pushed the grasp cache, please check the most recent commit 0e9f0a3. This should hopefully fix the issue.

What GPU are you using to run the code? Seems like the vRAM might not be enough. You can try running on CPU by specifying pipeline=cpu.

python3 deploy.py wandb_activate=false num_envs=1 headless=false test=true task=LeapHandRot checkpoint=runs/pretrained/nn/LeapHand.pth pipeline=cpu

Another thing to try is to turn off VHACD here (just change True to False)

hand_asset_options.vhacd_enabled = True

Hi! while excuting this: I encountered a new fault. Do you any clue to solve this? Thanks again for your help! for cube_scale in 0.9 0.95 1.0 1.05 1.1 do bash scripts/gen_grasp.sh $cube_scale custom_grasp_cache num_envs=1024 done 焦睿轩 @.***  

------------------ 原始邮件 ------------------ 发件人: "leap-hand/LEAP_Hand_Sim" @.>; 发送时间: 2023年9月19日(星期二) 凌晨3:24 @.>; @.@.>; 主题: Re: [leap-hand/LEAP_Hand_Sim] Have trouble running the pretrained policy (Issue #1) What GPU are you using to run the code? Seems like the vRAM might not be enough. You can try running on CPU by specifying pipeline=cpu. python3 deploy.py wandb_activate=false num_envs=1 headless=false test=true task=LeapHandRot checkpoint=runs/pretrained/nn/LeapHand.pth pipeline=cpu Another thing could be to turn off VHACD here (just change True to False)

hand_asset_options.vhacd_enabled = True
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Hi, could you please comment directly on GitHub instead of through email? I think the image you sent was not included.

OK! This problem had been solved, Thank you!

好的!这个问题已经解决了,谢谢!

I am also trying to solve this problem. My launch file works well, but my deploy file does not. Can we talk about it together? Thank you