Closed haoran1062 closed 5 years ago
Hello, thank you for your interest in our work! This is an automated response. Please note that most technical problems are due to:
git clone
version of this repository we can not debug it. Before going further run this code and ensure your issue persists:
sudo rm -rf yolov3 # remove exising repo
git clone https://github.com/ultralytics/yolov3 && cd yolov3 # git clone latest
python3 detect.py # verify detection
python3 train.py # verify training (a few batches only)
# CODE TO REPRODUCE YOUR ISSUE HERE
train_batch0.jpg
and test_batch0.jpg
for a sanity check of training and testing data.If none of these apply to you, we suggest you close this issue and raise a new one using the Bug Report template, providing screenshots and minimum viable code to reproduce your issue. Thank you!
i got the same error ,how to solve it?
@ZhxJia this runtime error is typically caused by attempting to modify a tensor that has been created using the .data or .detach() method. To resolve this, ensure that you are not directly modifying tensors created from .data or .detach() and instead modify the original tensor before creating the detached version.
If you need further assistance, please provide more details about the specific situation in which this error occurs, such as relevant code snippets or a description of the training process, so that I can offer more targeted guidance.
pytorch1.1 cuda9.0, run train get error: