andreaskoepf/faster-rcnn.torch

Dir path about create-imagenet-traindata.lua

Opened this issue · 4 comments

Hello, I got something wrong while I was running th create-imagenet-traindata.lua. Like:

/home/linzichuan/torch/install/bin/luajit: create-imagenet-traindata.lua:65: cannot open /data/imagenet/ILSVRC2015/Annotations/DET/train: No such file or directory
stack traceback:
    [C]: in function 'dir'
    create-imagenet-traindata.lua:65: in function 'import_directory'
    create-imagenet-traindata.lua:89: in function 'create_ground_truth_file'
    create-imagenet-traindata.lua:130: in main chunk
    [C]: in function 'dofile'
    ...huan/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
    [C]: at 0x00406670

I try mkdir -p /data/imagenet/ILSVRC2015/Annotations/DET/train, but later it comes another No such file or directory. Should I mkdir each path? Or is there anything I do wrongly?

@LinZichuan Thank for checking out the code. Unfortunately the current state of this repo is pretty much a sketch because I had to work on other projects.

In oder to run the create-imagenet-trainingdata.lua file unmodified the ILSVR2015 dataset needs to be stored under the path /data/imagenet/ILSVRC2015. I suggest you simply modify the script to match your local path (e.g. where you stored the ILSVRC2015 files).

I hope to soon update this repo and demonstrate some uses for robotic applications.

Duum commented

where to find the dataset, would you provide a download link?

Hello, can you please point to the link of the dataset ?