second.pytorch icon indicating copy to clipboard operation
second.pytorch copied to clipboard

I try to test second with my custom dataset

Open wj-shin opened this issue 4 years ago • 6 comments

I train second with kitti-dataset and I want to know this is can detect car in my custom dataset

so I make 7580 bin file which has same name with file which is in test folder. and delete all file which is in test folder. and paste file which is own dataset to test folder and I run create data again.

when create data ValueError: cannot reshape array of size 922258 into shape (4) is occured.

how to solve this problem?

Thanks your work

wj-shin avatar May 01 '21 12:05 wj-shin

You may need to regenerate the index in the files of test.txt/train.txt/trainval.txt/val.txt,which's relative path is second.pytorch/second/ImageSets/*.txt.

young147 avatar May 11 '21 06:05 young147

I also want to train with my own dataset,we can have a futher discuss if you don't mind,my qq is 1033598043.

young147 avatar May 11 '21 06:05 young147

I didn`t understand meaning about "which's relative path is second.pytorch/second/ImageSets/*.txt."

also I don`t know about 'qq is 1033598043'

can you explain ?

wj-shin avatar May 11 '21 07:05 wj-shin

And I solved value error which is 'ValueError: cannot reshape array of size 922258 into shape (4) is occured.'

I regenerate my .bin file use numpy`s reshape function

and this problem was solved

and I tried to test by evaluate command and check the result but I cannot see result and so I do truble shooting

wj-shin avatar May 11 '21 07:05 wj-shin

'qq is 1033598043' mean that your e-mail address is [email protected], is right?

wj-shin avatar May 11 '21 07:05 wj-shin

'qq is 1033598043' mean that your e-mail address is [email protected], is right?

Yes

young147 avatar May 11 '21 08:05 young147