AirLoop icon indicating copy to clipboard operation
AirLoop copied to clipboard

代码运行时报参数错误

Open yxh-yxhyxh opened this issue 3 years ago • 5 comments

代码运行时,报main.py: error: the following arguments are required: --out-dir, --envs。其中,--out-dir我猜测应该是输出目录,我新建了一个输出目录引用后没有提示这个参数了。但是--envs这个参数表示什么呢?还需要麻烦您告知一下,我没看出来,谢谢!

yxh-yxhyxh avatar May 01 '22 07:05 yxh-yxhyxh

您好,--env后面需要列出training environment的顺序,例如Nordland数据集:--env spring summer fall winter

Xanthorapedia avatar May 03 '22 21:05 Xanthorapedia

您好,--env后面需要列出training environment的顺序,例如Nordland数据集:--env spring summer fall winter

您好,感谢回复。下面是我的python执行语句。其中--out-dir这个参数我是自己创建了一个out空文件夹作为输出。感觉执行语句没什么问题,但就是没有结果。麻烦您帮忙看看呢。python main.py --dataset airloop/AirLoop-main/data/tartanair --out-dir airloop/AirLoop-main/out --envs abandonedfactory_night --epochs 100 --method airloop

yxh-yxhyxh avatar May 04 '22 06:05 yxh-yxhyxh

您好,--dataset应为tartanairairloop/AirLoop-main/data应该通过config/config.yaml--dataset-root设置。不好意思,之前确实有一些问题,请尝试最新的README和代码。

Xanthorapedia avatar May 04 '22 06:05 Xanthorapedia

您好,--dataset应为tartanairairloop/AirLoop-main/data应该通过config/config.yaml--dataset-root设置。不好意思,之前确实有一些问题,请尝试最新的README和代码。

您好,我试了最新代码,但是还是报错,请问您是在中国地区吗,可不可以远程指导一下呀,我是在ubuntu环境下运行的

yxh-yxhyxh avatar May 04 '22 13:05 yxh-yxhyxh

您好,--dataset应为tartanairairloop/AirLoop-main/data应该通过config/config.yaml--dataset-root设置。不好意思,之前确实有一些问题,请尝试最新的README和代码。

您好,请问新代码 执行python main.py --method airloop语句后,有没有出现过下面这个问题呀 magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.

image

yxh-yxhyxh avatar May 05 '22 07:05 yxh-yxhyxh