detecto icon indicating copy to clipboard operation
detecto copied to clipboard

Train Model has problem

Open tuan2012 opened this issue 5 years ago • 2 comments

Describe the bug Error functions 'nonzero' related to PyTorch

Code and Data inside the nonzero functions, which need to add the attribute 'as_tuple = False'

Environment:

  • OS: ubuntu 20.04 LTS
  • Python version: 3.8
  • Detecto version:1.2
  • torch version: 1.6.0
  • torchvision version: 0.7.0

Additional context Add any other context about the problem here.

tuan2012 avatar Oct 28 '20 10:10 tuan2012

Have the same problem!

ngthotuan avatar Oct 28 '20 13:10 ngthotuan

Could you share the code and full output that results in this error?

alankbi avatar Oct 30 '20 21:10 alankbi