Meta-Faster-R-CNN icon indicating copy to clipboard operation
Meta-Faster-R-CNN copied to clipboard

I want to run my own dataset on your work.

Open LiBiGo opened this issue 2 years ago • 4 comments

Hello, thank you very much for your work, but I have a question. I want to run my own dataset on your work. It is in voc format. How can I run it?Can you give me an operation manual?

LiBiGo avatar Feb 26 '23 08:02 LiBiGo

You can follow the instructions here to prepare the training dataset. Then, you can follow the instructions here to train the models.

GuangxingHan avatar Feb 26 '23 14:02 GuangxingHan

你会中文吗,我仅仅将 Meta-Faster-R-CNN-main/datasets/pascal_voc/builtin_meta_pascal_voc.py文件中的这个部分修改为 `PASCAL_VOC_ALL_CATEGORIES = { 1: ['Hole', 'Fold', 'Black', 'Crake'], 2: ['Hole', 'Fold', 'Black', 'Crake'], 3: ['Hole', 'Fold', 'Black', 'Crake'], }

PASCAL_VOC_NOVEL_CATEGORIES = { 1: ['Hole', 'Black'], 2: ['Hole', 'Black'], 3: ['Hole', 'Black'], } PASCAL_VOC_BASE_CATEGORIES = { 1: ['Fold', 'Crake'], 2: ['Fold', 'Crake'], 3: ['Fold', 'Crake'], }`

然后,我运行了2_gen_support_pool.py,但是他报错,我是不是还有其他的地方没修改。

python 2_gen_support_pool.py

Traceback (most recent call last): File "2_gen_support_pool.py", line 261, in root_path = sys.argv[1] IndexError: list index out of range

LiBiGo avatar Feb 27 '23 03:02 LiBiGo

You can add the root_path in the command like "python 2_gen_support_pool.py [root_path]"

GuangxingHan avatar Feb 28 '23 04:02 GuangxingHan

你会中文吗,我仅仅将 Meta-Faster-R-CNN-main/datasets/pascal_voc/builtin_meta_pascal_voc.py文件中的这个部分修改为 `PASCAL_VOC_ALL_CATEGORIES = { 1: ['Hole', 'Fold', 'Black', 'Crake'], 2: ['Hole', 'Fold', 'Black', 'Crake'], 3: ['Hole', 'Fold', 'Black', 'Crake'], }

PASCAL_VOC_NOVEL_CATEGORIES = { 1: ['Hole', 'Black'], 2: ['Hole', 'Black'], 3: ['Hole', 'Black'], } PASCAL_VOC_BASE_CATEGORIES = { 1: ['Fold', 'Crake'], 2: ['Fold', 'Crake'], 3: ['Fold', 'Crake'], }`

然后,我运行了2_gen_support_pool.py,但是他报错,我是不是还有其他的地方没修改。

python 2_gen_support_pool.py

Traceback (most recent call last): File "2_gen_support_pool.py", line 261, in root_path = sys.argv[1] IndexError: list index out of range

请问这个问题你解决了吗?

Fyzde avatar Nov 28 '23 13:11 Fyzde