dunbar12138 / pix2pix3D

pix2pix3D: Generating 3D Objects from 2D User Inputs
http://www.cs.cmu.edu/~pix2pix3D/
MIT License
1.65k stars 132 forks source link

404 while trying to download pre-trained models #7

Closed ghost closed 1 year ago

ghost commented 1 year ago

Getting following output while running the download script for pre-trained models

(pix2pix3d) PS D:\ml\pix2pix3D> bash checkpoints/download_models.sh
checkpoints/download_models.sh: line 1: cd: $'checkpoints\r': No such file or directory
--2023-02-21 14:07:40--  http://cs.cmu.edu/~pix2pix3D/release.tar%0D
Resolving cs.cmu.edu (cs.cmu.edu)... 128.2.42.95, 128.2.1.30, 128.237.148.161
Connecting to cs.cmu.edu (cs.cmu.edu)|128.2.42.95|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.cs.cmu.edu/~pix2pix3D/release.tar%0d [following]
--2023-02-21 14:07:41--  http://www.cs.cmu.edu/~pix2pix3D/release.tar%0d
Resolving www.cs.cmu.edu (www.cs.cmu.edu)... 128.2.42.95, 128.237.148.168, 128.2.1.8
Reusing existing connection to cs.cmu.edu:80.
HTTP request sent, awaiting response... 404 Not Found
2023-02-21 14:07:41 ERROR 404: Not Found.

tar: release.tar\r: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove 'release.tar'$'\r': No such file or directory
dunbar12138 commented 1 year ago

Hi, this is probably because you're using Windows and PowerShell. You can directly type the cmd in checkpoints/download_models.sh, i.e.,

cd checkpoints wget http://cs.cmu.edu/~pix2pix3D/release.tar tar -xvf release.tar