GithubHelp home page GithubHelp logo

Comments (4)

tianzhi0549 avatar tianzhi0549 commented on August 17, 2024

@qianzhang2018 It seems that the dataloader didn't get any images. Please check your code.

from fcos.

qianzhang2018 avatar qianzhang2018 commented on August 17, 2024

where is the “--images-dir” in train? it is in fcos_R_50_FPN_1x.yaml---DATASETS:?

from fcos.

qianzhang2018 avatar qianzhang2018 commented on August 17, 2024

FCOS
-----datasets
-----coco
----- annotations
----- coco_2014_train
----- coco_2014_valminusminival
i put my own traindata in coco_2014_train and val data in coco_2014_valminusminival
is it right?

from fcos.

Mahmood-Hussain avatar Mahmood-Hussain commented on August 17, 2024

FCOS
-----datasets
-----coco
----- annotations
----- coco_2014_train
----- coco_2014_valminusminival
i put my own traindata in coco_2014_train and val data in coco_2014_valminusminival
is it right?

I am facing the same issue. Would you tell me please where I am wrong?

loading annotations into memory...
Done (t=0.02s)
creating index...
index created!
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
Traceback (most recent call last):
File "tools/train_net.py", line 181, in
main()
File "tools/train_net.py", line 174, in main
model = train(cfg, args.local_rank, args.distributed)
File "tools/train_net.py", line 67, in train
start_iter=arguments["iteration"],
File "/home/mahmood/FCOS/fcos_core/data/build.py", line 159, in make_data_loader
sampler = make_data_sampler(dataset, shuffle, is_distributed)
File "/home/mahmood/FCOS/fcos_core/data/build.py", line 63, in make_data_sampler
sampler = torch.utils.data.sampler.RandomSampler(dataset)
File "/home/mahmood/anaconda3/envs/FCOS/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 94, in init
"value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0
Traceback (most recent call last):
File "/home/mahmood/anaconda3/envs/FCOS/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/mahmood/anaconda3/envs/FCOS/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/mahmood/anaconda3/envs/FCOS/lib/python3.7/site-packages/torch/distributed/launch.py", line 253, in
main()
File "/home/mahmood/anaconda3/envs/FCOS/lib/python3.7/site-packages/torch/distributed/launch.py", line 249, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/home/mahmood/anaconda3/envs/FCOS/bin/python', '-u', 'tools/train_net.py', '--local_rank=0', '--config-file',

from fcos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.