Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码运行时报参数错误 #8

Open
yxh-yxhyxh opened this issue May 1, 2022 · 5 comments
Open

代码运行时报参数错误 #8

yxh-yxhyxh opened this issue May 1, 2022 · 5 comments

Comments

@yxh-yxhyxh
Copy link

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

@Xanthorapedia
Copy link
Collaborator

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

@yxh-yxhyxh
Copy link
Author

您好,--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

@Xanthorapedia
Copy link
Collaborator

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

@yxh-yxhyxh
Copy link
Author

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

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

@yxh-yxhyxh
Copy link
Author

您好,--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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants