我想提交一个自定义的Keras模型。我的文件夹是
trainer
-- model.py
-- task.py
-- training_data.json
在本地进行培训是可行的,但是由于(来自日志),提交到AI云失败了:
master-replica-0
Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/root/.local/lib/python3.5/site-packages/trainer/task.py", line 162, in <module> with io.open('tokenizer.json',encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: 'training_data.json'
如何处理task.py中所需的数据?