Closed dongjukim123 closed 4 months ago
Hi @dongjukim123
The file you downloaded is most likely corrupted. The solution has been mentioned on this issue.
I think the reason is that the file as you know is too large (3.5GB), is because the file is stored in google drive and the wget
command in the script has to handle the confirmation token for downloading this large file, which is where the error might be happening (happened multiple times for me using the command: wget --directory-prefix=../docker -nc --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1XkVpyYyYqQQ4FcgLIDUxg-GR1WI89-XC' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1XkVpyYyYqQQ4FcgLIDUxg-GR1WI89-XC" -O deployment_image.tar && rm -rf /tmp/cookies.txt
in the file go1_gym_deploy/scripts/send_to_unitree.sh
).
One option is to download the file manually (stored here) locally and then scp
it to the robot in the same directory (replacing the corrupted file).
Don't forget to check the md5 checksum as shown here.
Thank you!
When I commanded send_to_unitree.sh in go1_gym_deploy/scripts file I got a very small file size 2.4kB deployment_image.tar Is it right? You said that is is 3.5GB size but mine is too small. And when I executed install_deployment_code.sh in the scripts file I got an error like this one(Invalid tar header)