#1082 请问在使用NPU资源创建调试或者训练任务的时候这句话:数据集位置存储在运行参数 multi_data_url 中,预训练模型存放在运行参数 pretrain_url 中,训练输出请存储在 /cache/output 中以供后续下载

Closed
created 10 months ago by pwkQiZhi · 1 comments
<!-- 为了更有效地识别与解决您的问题,请尽可能的补充如下信息 --> ### 问题描述 在使用NPU资源创建调试或者训练任务的时候提示:“数据集位置存储在运行参数 multi_data_url 中,预训练模型存放在运行参数 pretrain_url 中,训练输出请存储在 /cache/output 中以供后续下载。” 这里的数据集位置存放在运行参数multi_data_url中,是写成 multi_data_url = "/xx/xx"的形式吗?我的代码是根据CPU/GPU资源改的: if __name__ == "__main__": import argparse parser = argparse.ArgumentParser( description=__doc__) ##### 训练设备类型 parser.add_argument('--device', default='cuda:0', help='device') ##### 训练数据集的根目录( parser.add_argument('--data-path', default=r'/dataset/', help='dataset') ##### 文件保存地址 parser.add_argument('--output-dir', default='/model/', help='path where to save') NPU资源不像CPU/GPU资源那样好改,是要新加参数multi_data_url和pretrain_url吗?NPU资源的路径问题困扰我一段时间了。谢谢解答 ### 相关环境(NPU) ### 相关集群(启智/智算) ### 任务类型(调试/训练)
liuzx was assigned by wangj 10 months ago
liuzx commented 10 months ago
Collaborator
可以先参考一下示例代码的写法,有其他具体问题再在这个isuue下回复,示例代码https://openi.pcl.ac.cn/OpenIOSSG/MNIST_Example
liuzx closed this issue 6 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.