我正在运行一个 python 脚本,该脚本从 svs 文件生成 jpegs 图像,但出现以下错误。我正在从 /dev/xvda1 上的 /home/ubuntu 运行脚本
File "./scripts/00_preprocessing/0d_SortTiles_final.py", line 677, in <module>
os.symlink(TilePath, NewImageDir)
OSError: [Errno 28] No space left on device: '/home/ubuntu/full_tiledslides/TCGA-44-2662-01B-01-BS1.C0473E69-AD92-4D16-B914-55F0A9C53320_files/20.0/102_50.jpeg' -> 'Alive/train_TCGA-44-2662-01B-01-BS1.C0473E69-AD92-4D16-B914-55F0A9C53320_102_50.jpeg'
我使用的是 aws ec2 p3.16xlarge,并且我之前已经使用大致相同大小的数据集执行过多次。我删除了之前的尝试,为这次新尝试腾出空间,但是现在我收到此错误。
Filesystem Size Used Avail Use% Mounted on
udev 241G 0 241G 0% /dev
tmpfs 49G 8.9M 49G 1% /run
/dev/xvda1 2.0T 1.2T 792G 61% /
tmpfs 241G 0 241G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 241G 0 241G 0% /sys/fs/cgroup
/dev/loop1 90M 90M 0 100% /snap/core/8213
/dev/loop0 18M 18M 0 100% /snap/amazon-ssm-agent/1480
/dev/loop2 90M 90M 0 100% /snap/core/8268
/dev/loop3 18M 18M 0 100% /snap/amazon-ssm-agent/1455
tmpfs 49G 0 49G 0% /run/user/1000
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 62949231 347 62948884 1% /dev
tmpfs 62951205 468 62950737 1% /run
/dev/xvda1 262144000 31831794 230312206 13% /
tmpfs 62951205 1 62951204 1% /dev/shm
tmpfs 62951205 3 62951202 1% /run/lock
tmpfs 62951205 16 62951189 1% /sys/fs/cgroup
/dev/loop1 12842 12842 0 100% /snap/core/8213
/dev/loop0 15 15 0 100% /snap/amazon-ssm-agent/1480
/dev/loop2 12842 12842 0 100% /snap/core/8268
/dev/loop3 15 15 0 100% /snap/amazon-ssm-agent/1455
tmpfs 62951205 4 62951201 1% /run/user/1000