#58 训练任务的启动脚本能否支持bash脚本?

Closed
created 1 year ago by NanSeng_G · 2 comments
NanSeng_G commented 1 year ago
项目本地调试和服务器测试的参数不完全一样,但是再创建任务的时候需要一个个手动添加,非常麻烦;而且参数还有255的长度限制,建议改进一下
tanglj was assigned by zeizei 1 year ago
tanglj was unassigned by zeizei 1 year ago
liuzx commented 1 year ago
Collaborator
目前启动脚本只能是.py结尾的python文件,若想要执行.sh文件,可以在python脚本里指定执行,如os.system(“sh run.sh”)
liuzx commented 1 year ago
Collaborator
若指定进入某个目录,执行如os.system("cd /code")
NanSeng_G closed this issue 1 year 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.