question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Training cannot start

See original GitHub issue

Hi,

Good job! I tried to used it as

device=torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
model = Model(...)
model = nn.DataParallel(model, device_ids=[0, 1])
model = convert_model(model).to(device)

However, it stucked and training couldn 't start. Have you seem similar problems before ?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
shuuchencommented, Nov 18, 2020

I wrote a test script which solved the hanging problem. I guess there is something wrong with reduce function.

Please refer to the script: https://gist.github.com/shuuchen/7463009370e9ddf77e649f3fec259024

You can adapt the code with your own task easily.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't start training · Issue #1301 · ultralytics/yolov5 - GitHub
Question Hi, when I try to train ,the progress bar does not move.I don't know how to solve it.Hope your reply.
Read more >
Cannot start Training on Google Colab - Usage & Issues
Hi. I am trying to use Google Colab to train DLC. I am getting the error: “NameError: name 'deeplabcut' is not defined” I...
Read more >
Cannot start training because another fit() call is ongoing ...
It means that the second call has to start only when the first one has completed. Using async and await will prevent your...
Read more >
Can't Start Training? : r/apexlegends - Reddit
Been being booted to menu screen every time I try to join into the training mode so I can finally test some stuff....
Read more >
Can't start Training mission. :: Cold Waters General Discussions
Now I wanted to start and wanted to get going with the first Training mission, but I can't get it started. After the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found