GithubHelp home page GithubHelp logo

Comments (3)

huanglianghua avatar huanglianghua commented on July 24, 2024

@wangaixue Hi, can you provide more details on the reported error? For example, at which line of the code the running stopped?

from globaltrack.

wangaixue avatar wangaixue commented on July 24, 2024

@huanglianghua the question like this
File "tools/train_qg_rcnn.py", line 103, in
main()
File "tools/train_qg_rcnn.py", line 99, in main
logger=logger)
File "_submodules/mmdetection/mmdet/apis/train.py", line 62, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
File "_submodules/mmdetection/mmdet/apis/train.py", line 229, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/wyc/anaconda3/envs/globaltrack/lib/python3.7/site-packages/mmcv/runner/runner.py", line 358, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/wyc/anaconda3/envs/globaltrack/lib/python3.7/site-packages/mmcv/runner/runner.py", line 260, in train
for i, data_batch in enumerate(data_loader):
File "/home/wyc/anaconda3/envs/globaltrack/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 582, in next
return self._process_next_batch(batch)
File "/home/wyc/anaconda3/envs/globaltrack/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 608, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
IndexError: Traceback (most recent call last):
File "/home/wyc/anaconda3/envs/globaltrack/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 99, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/wyc/anaconda3/envs/globaltrack/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 99, in
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/wyc/GlobalTrack/datasets/wrappers.py", line 76, in getitem
item = self.base_dataset[index]
File "_submodules/neuron/neuron/data/datasets/structure.py", line 395, in getitem
return dataset[index]
File "_submodules/neuron/neuron/data/datasets/structure.py", line 79, in getitem
img_x = ops.read_image(img_files[rand_x])
IndexError: list index out of range
I guess the rand_x is out the image_file? Can you help me? very thank you

from globaltrack.

wangaixue avatar wangaixue commented on July 24, 2024

@huanglianghua I also find this question when i only use the got-10k to train.

from globaltrack.

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.