-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
prepare_2020.py 难以理解 #7
Comments
你好, 你可以看README 在 https://github.com/layumi/AICIty-reID-2020/tree/master/pytorch |
官方数据有两个:AIC20_ReID和AIC20_ReID_Simulation;其中AIC20_ReID中的图片文件名是没有下划线的,但是我看代码中是对 /data/pytorch2020/2020AICITY 中所有的图片进行split("_")取id,所以没有太明白,是不是现在的数据格式和你们比赛的时候的不同了 |
抱歉,是我的问题,今年我用的是paddlepaddle 那边处理好的数据。 |
@rrjia 如果你还遇到任何数据问题,问就好,真的感谢~~~ |
File "train_2020.py", line 561, in FileNotFoundError: [Errno 2] No such file or directory: './train.py' 在源码中没有发现train.py ,请问这段代码可以注释嘛? |
可以。这主要是为了防止多次改代码以后,忘记了设定,所以做的备份。你也可以改成 train_2020.py 感谢 |
在test_2020.py 159行处: |
嗯,是的。validation时候 我们采用的gallery 是所有real的训练集。 |
你好,兄弟,我已经按照你的方式去改了,但是在pytest时候报错 |
@layumi 郑博士你好,请问一下 |
@chenxyyy 这个label是之前产生的pseudo label 用不到,你可以skip这一部分。 |
@daiguangzhao 这个错有点奇怪。。。是opt = parser.parse_args() ? 这边没有import |
@layumi 郑博士你好,我按照你给的paddlepaddle 预处理数据的那个连接进去,里边的2_prepare_syn_trainlist.py文件,有'colorID','typeID','orientation'这三个Item,但是我在train_label_utf8.xml文件中并没有找到这几个Item啊? |
syn使用的和real使用的xml不是同一个xml文件,需要对应数据集读取处理 |
'colorID','typeID','orientation'这三个Item 只有 AIC20_ReID_Simulation文件夹仿真生成的数据中才有,AIC20_ReID文件夹下数据中没有,对真实数据和生成数据要分别调用1_convert.py ,AIC20_ReID_Simulation文件夹下也有一个train_label.xml,然后在使用2_prepare_syn_trainlist.py处理仿真合成的数据,2_prepare_real_trainlist.py处理AIC20_ReID文件夹下的真实数据 |
这个问题我没有遇到过,你是不是应该首先train_2020.py |
AIC20_ReID文件夹下有个readme.txt %% |
我们这样做的目的只是为了方便,另外加上query test上的id就是666了,真实集上的478不是连续的,具体的你可以参考https://www.aicitychallenge.org/2020-faqs/ |
好的 |
|
|
您好,这个问题困扰我很久.
您好,在官网下载的真实数据集有train_lable.xml的文件,我们可以利用Research/CV/PaddleReid/process_aicity_data/的方法去处理train的数据,在您的prepare_2020.py文件的第29-32行中生成的train_real_all应该是真实数据集中所有666辆车包括(The ranges of the training IDs are: 1-95 & 241-478 The ranges of the testing IDs are: 96-240 & 479-666),但是却没有生成.在原数据集中的image_query和image_test并没有被处理成标准形式.您推荐的那个处理数据的网址并没有这部分的内容,麻烦! |
@daiguangzhao |
不好意思,郑博士,我理解错了! |
@daiguangzhao 是的。 train_real_all 是 36395 |
@layumi @rrjia 是不是直接把train_real_save_path路径下的图片拷贝到gallery,而不用取消这三行注释也可以? |
没有看到从哪里输入AI city 2020的数据开始处理的,全程没有注释,请问是那个参数是输入数据?
The text was updated successfully, but these errors were encountered: