mohenghui / detectauto Goto Github PK
View Code? Open in Web Editor NEW自动标注
自动标注
请问发生错误该如何解决?
Fusing layers...
YOLOv5s_v6 summary: 213 layers, 7225885 parameters, 0 gradients
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\anaconda3\envs\yolov5\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "detect_auto.py", line 265, in tes06
self.work()
File "detect_auto.py", line 198, in work
coordinates_list = self.run(image, model, self.device, self.half)
File "D:\anaconda3\envs\yolov5\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "detect_auto.py", line 60, in run
model.warmup(imgsz=(1, 3, *img_size), half=half) # warmup
TypeError: warmup() got an unexpected keyword argument 'half'
(pytorch) C:\Users\liucheng\Documents\yolov\yolov5-master>python detect_auto.py
Traceback (most recent call last):
File "C:\Users\liucheng\Documents\yolov\yolov5-master\detect_auto.py", line 4, in
from utils.datasets import *
ModuleNotFoundError: No module named 'utils.datasets'
import sys
from utils.torch_utils import select_device
from models.common import DetectMultiBackend
from utils.datasets import *
这个utils文件夹没给啊
D:\Python\Python38\python.exe E:\detectAuto-main\detect_auto.py
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Python\Python38\lib\tkinter_init_.py", line 1883, in call
return self.func(*args)
File "E:\detectAuto-main\detect_auto.py", line 268, in tes06
self.work()
File "E:\detectAuto-main\detect_auto.py", line 188, in work
model = DetectMultiBackend(self.weights, device=self.device, dnn=self.dnn, data=self.data)
TypeError: DetectMultiBackend() takes no arguments
Process finished with exit code 0
请问这种是什么原因导致呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.