Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing DatasetLoader in api.lua #14

Open
eugene8568 opened this issue Dec 1, 2020 · 0 comments
Open

Missing DatasetLoader in api.lua #14

eugene8568 opened this issue Dec 1, 2020 · 0 comments

Comments

@eugene8568
Copy link

Hi Mr. Farrajota,

I tried to run train the fastrcnn model using your dbcollection torch but stuck at step 5 when it tried to load dataset.

~/Documents/fastrcnn-example-torch$ th train.lua -dataset coco -netType vgg  
==> (1/5) Load options  
==> (2/5) Load dataset data loader                                                                              `
==> (3/5) Load roi proposals data
==> (4/5) Setup model:
==> (5/5) Train Fast-RCNN model
/home/ice/Documents/fastrcnn_visdial_51/install/bin/luajit: ...nn_visdial_51/install/share/lua/5.1/dbcollection/api.lua:166: attempt to call field 'DatasetLoader' (a nil value)
stack traceback:
        ...nn_visdial_51/install/share/lua/5.1/dbcollection/api.lua:166: in function 'get_data_loader'
        ...nn_visdial_51/install/share/lua/5.1/dbcollection/api.lua:363: in function 'load'
        /home/ice/Documents/fastrcnn-example-torch/data.lua:18: in function 'get_db_loader'
        /home/ice/Documents/fastrcnn-example-torch/data.lua:161: in function 'fetch_loader_dataset'
        /home/ice/Documents/fastrcnn-example-torch/data.lua:301: in function 'data_gen'
        ...rcnn_visdial_51/install/share/lua/5.1/fastrcnn/train.lua:47: in function 'train'
        train.lua:68: in main chunk
        [C]: in function 'dofile'
        ...visdial_51/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: at 0x00406510

Any advice? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant