我正在斯坦福大学cs231n课程中自学神经网络.我正在试着完成assignment1。然而,我对如何下载这些数据完全感到困惑。我跟着老师看
下载数据:一旦您有了初学者代码,就需要下载CIFAR-10数据集。从
assignment1目录中运行以下命令:
cd cs231n/datasets
./get_datasets.sh我不明白“运行”以下内容是什么意思。到底跑什么?以前,我使用R,所以我理解"run R“是什么意思。但是这里并没有说运行“什么”,也没有在“哪里”中运行代码。
因此,我尝试在命令提示符、Anaconda提示符、PowerShell甚至Git中运行代码。"." is not recognized as an internal or external command的命令提示游戏错误。PowerShell没有给出错误,但也没有给出任何结果。它只是打开代码的文本文档
# Get CIFAR10
wget http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
tar -xzvf cifar-10-python.tar.gz
rm cifar-10-python.tar.gz 吉特巴什给我的错误
get_datasets.sh: line 2: wget: command not found
tar (child): cifar-10-python.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove 'cifar-10-python.tar.gz': No such file or directory如何下载这些数据?请帮帮我!谢谢。
发布于 2019-07-12 06:37:39
下载惠特 &将wget.exe复制到git中
C:\程序文件\Git\mingw64 64
然后重新启动git,或者导航到存在get_datasets.sh文件的文件夹。在git中运行以下命令
sh get_datasets.sh
发布于 2019-06-13 18:56:42
使用cmd导航到get_datasets.sh文件所在的文件夹。在命令提示符中使用命令.\get_datasets.sh。
确保你没有失踪。如果wget丢失,请在本地计算机上安装wget,然后运行shell脚本。
安装wget后,正确使用前面提到的指令。
https://stackoverflow.com/questions/50850113
复制相似问题