detecto
detecto copied to clipboard
Train Model has problem
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.
Have the same problem!
Could you share the code and full output that results in this error?