loolzaaa / faster-rcnn-pytorch

A PyTorch implementation of Faster R-CNN
MIT License
18 stars 5 forks source link

AssertionError: Path to data does not exist: VOCdevkit/VOC2007 #3

Closed ryankimky closed 4 years ago

ryankimky commented 4 years ago

image

What is the problem? 😭

loolzaaa commented 4 years ago

Do you download Pascal VOC dataset? Create symlinks to devkit?

I see, place VOCdevkit folder to ROOT of the library, not in the data folder.

ryankimky commented 4 years ago

Yes, i downloaded Pascal VOC 2007 dataset and create symlinks as follow 'https://github.com/rbgirshick/py-faster-rcnn#beyond-the-demo-installation-for-training-and-testing-models'

loolzaaa commented 4 years ago

Just create symlink in library root folder.

Well, i think, i must to fix it or write new manual, not link to old version... 😞

loolzaaa commented 4 years ago

I make path to data of the datasets relative ./data, not library root in https://github.com/loolzaaa/faster-rcnn-pytorch/commit/655ef14b8b4877c0b6bf13c9a9aa5c284cd3c26c, so keep it in mind if you pull changes.

Also, you can specify your own name of the symlink and it in additional parameter at startup. Check here.