[英]datalab folder is missing from root in google colab
I'm trying to run some machine learning in Google Colab.我正在尝试在 Google Colab 中运行一些机器学习。
However, there is one line that says然而,有一行说
%cd ~/datalab
But it can't find the 'datalab' folder.但它找不到“datalab”文件夹。
[Errno 2] No such file or directory: '/root/datalab'
I checked if it's there in content and root using !ls and os.listdir but there's nothing.我使用 !ls 和 os.listdir 检查了 content 和 root 中是否有它,但什么也没有。
I also tried mounting my content folder but it doesn't fix the datalab problem.我也尝试安装我的内容文件夹,但它没有解决 datalab 问题。
Why is 'datalab' missing?为什么缺少“数据实验室”?
How can I fix it?我该如何解决?
Any help would be appreciated, thanks!任何帮助将不胜感激,谢谢!
The error names the problem.该错误命名了问题。 You'll want to create the directory before attempting to switch to it using a command like:
在尝试使用以下命令切换到该目录之前,您需要创建该目录:
!mkdir -p /root/datalab
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.