#4918 【sdk】智算gpu的notebook执行openi.context.prepare()方法后数据集文件未解压

Closed
created 5 months ago by wangj · 2 comments
wangj commented 5 months ago
复现步骤: 1.新建智算gpu调试任务时选择数据集文件(zip或tar.gz格式) 2.任务running时点击调试进入容器 3.在jupyterlab运行以下python代码: from openi.context import prepare import os openi_context = prepare() print(openi_context.dataset_path) 4.查看数据集目录dataset_path下的内容 期望结果:数据集文件已经解压,zip或者tar.gz文件已经删除 实际结果:数据集文件未解压
wangj added this to the V20231120 milestone 5 months ago
wangj added the
bug
label 5 months ago
liuzx was assigned by wangj 5 months ago
wangj commented 5 months ago
Owner
最新效果是会解压,但有2个问题: 1. tar.gz被解压成tar了 调用完prepare()方法,日志回显 “Successfully extracted /dataset/MnistDataset_torch.tar.gz to /dataset/MnistDataset_torch.tar” 2. 解压后删除压缩文件失败了 调用完prepare()方法,日志回显 “Deletion failed for /dataset/MnistDataset_torch.tar.gz: [Errno 16] Device or resource busy: '/dataset/MnistDataset_torch.tar.gz',”
wangj removed this from the V20231120 milestone 5 months ago
wangj added this to the V20240116 milestone 2 months ago
wangj added the
duplicate
label 2 months ago
wangj commented 2 months ago
Owner
与issue #5132 、 #5113 重复。关闭。
wangj closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.