Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: The target has to be an integer tensor. #846

Closed
xingruic opened this issue Apr 19, 2021 · 1 comment
Closed

ValueError: The target has to be an integer tensor. #846

xingruic opened this issue Apr 19, 2021 · 1 comment

Comments

@xingruic
Copy link

xingruic commented Apr 19, 2021

Full output https://pastebin.com/mc99v61d
I tried training with tensorflow, and it worked fine, I got a model, and it could drive. The error is after I tried to train with pytorch:
donkey train --tub ./data/data-4-13-2021,./data/data-4-13-2021-1/,./data/data-4-9-2021/ --model ./models/mypilot-pytorch.h5 --framework pytorch --type resnet18

  • OS: I've tried both on Ubuntu 20.04 using Windows 10 multipass and on Windows 10 Anaconda Powershell Prompt
  • Python version: 3.7.10
  • Pytorch version: 1.7.1
  • conda version: 4.9.2
  • donkey version: 4.1.0
@DocGarbanzo
Copy link
Contributor

@NevGithub0823 - thanks for reporting this. This is a known issue and has been resolved in #830.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants