DeFRCN icon indicating copy to clipboard operation
DeFRCN copied to clipboard

How to used in the customer dataset?

Open jo-dean opened this issue 2 years ago • 8 comments

Hello,i want use the model in my customer dataset. But the result is not so good just used the provided model in this hub. Any advice to fit my own dataset? Thank you.

jo-dean avatar Mar 10 '22 08:03 jo-dean

Do you solve this problem? When I train my novel class 'zangxueji' the new test dataset shows that 'zangxueji' instances is 0? Why? and it;s train will be dead soon.

hetao828 avatar Mar 28 '22 14:03 hetao828

image

hetao828 avatar Mar 28 '22 14:03 hetao828

image

I think this problem maybe caused by 0 instances of 'zangxueji', because sometimes it shows CUDA OUT OF MEMORY.

hetao828 avatar Mar 28 '22 14:03 hetao828

Hello,i want use the model in my customer dataset. But the result is not so good just used the provided model in this hub. Any advice to fit my own dataset? Thank you.

请问在自己的数据集上用DeFRCN需要修改代码的哪些部分?是按照dectron2的数据集导入来修改吗?

Assass1no avatar Apr 17 '22 07:04 Assass1no

image

Hello. I have this problem. Do you solve it?

aeinsara avatar May 20 '22 13:05 aeinsara

Do you solve this problem? When I train my novel class 'zangxueji' the new test dataset shows that 'zangxueji' instances is 0? Why? and it;s train will be dead soon.

I found the reason of this problem.It because of this line in "defrcn/dataloader/build.py": "histogram += np.histogram(classes, bins=hist_bins)[0]". bins=hist_bins must be adapted to yours dataset. For example my classes is [13,14,15,16], so bins should be [13,14,15,16,17] for display correctly. This problem only exists in the display and in fact, the code works correctly. So do not worry.

aeinsara avatar May 22 '22 18:05 aeinsara

你好,我想请问一下为什么我换做自己的数据集之后,loss等一起切训练正常,但是最后的检测结果却是0 呢? 5a4edcb8ee08a5ea093498152dfd99ab 235b7ee12db3450211619aaefc49302a

hui-yiming avatar Feb 01 '24 08:02 hui-yiming

你好,我想请问一下为什么我换做自己的数据集之后,loss等一起切训练正常,但是最后的检测结果却是0 呢? 5a4edcb8ee08a5ea093498152dfd99ab 235b7ee12db3450211619aaefc49302a

Hello, I would like to ask how you changed to your own data set for training and testing, I am very confused about this, I am sorry to bother you, I am an AI rookie.

orzgugu avatar Feb 01 '24 20:02 orzgugu