j96w/6-PACK

No _bbox.txt file

Closed this issue · 11 comments

input_file = open('{0}_bbox.txt'.format(choose_frame), 'r')

There is no _bbox.txt file in the original NOCS dataset.

j96w commented

Please follow the dataset preparation steps written in README to obtain the same dataset as we do.

Please follow the dataset preparation steps written in README to obtain the same dataset as we do.

There is no _bbox.txt file in NOCS-REAL275-additional.zip, too.

The folder data_pose cannot be placed under My_NOCS, otherwise an error will be reported. It needs to be merged with the folder data. And the file bbox.txt also needs to be placed under data, but there is no _bbox.txt file in NOCS-REAL275-additional.zip

j96w commented

Hi @chenerg, @joy-yjl, @lh641446825,
We have uploaded our data_preprocess.py script in the 6-PACK/dataset/ folder, which is used to generate the _bbox.txt files.

Also @lh641446825,
Thanks for mention this dataloader bug. We have fixed this problem by replacing the "data/" with the "data_pose/". Please check it out.

hello
Running data_preprocess.py does not generate the _bbox.txt file.
This mean is "you can export the standard output to text and save it as "_bbox.txt""?

Hi @foxmari
If you follow the dataset preparation steps written in README and running data_preprocess.py, the *_bbox.txt will be generated in My_NOCS/data_pose/train/*/*_bbox.txt.

But there is something wrong in dataset/dataset_nocs.py line 280:

input_file = open('{0}_bbox.txt'.format(choose_frame), 'r')

which should be change to:

input_file = open('{0}_bbox.txt'.format(choose_frame.replace("data/", "data_pose/")), 'r')

We will fix this bug later, thank you for mention it.

When I read the code, I didn't realize it was replacing path.

I found the *_bbox.txt file in two places.

  • /data_pose/train//_bbox.txt
  • /data/train//_bbox.txt

Is this correct?

Thank you!

@foxmari , do you edit the preprocess.py? The *_bbox.txt file should not be found in /data/train, but I think this might have no effect.

Ok, thank you very much.
I did a lot of research before I asked this question, so I may have added a note at that time.
Thank you for letting me know.

Hi, you can get '_bbox.txt' file from this link:
https://drive.google.com/drive/folders/1FWNYJ1E7nMJe7FSK_jVD8YsuMrAVhmvJ?usp=sharing

你好,我想在ROS上运行,没看懂那部分介绍,能说的详细点吗?