lu-tju / yolov3_pytorch Goto Github PK
View Code? Open in Web Editor NEW我的毕设程序:用YOLOv3识别turtlebot机器人
我的毕设程序:用YOLOv3识别turtlebot机器人
E:\YOLOv3_pytorch\YOLOv3_pytorch-master\utils\datasets.py:160: UserWarning: loadtxt: Empty input file: "data/labels/006491.txt"
0/3 8/2241 0.0971 0.453 101 0 101 3 0.05
labels0 = np.loadtxt(label_path, dtype=np.float32).reshape(-1, 5)
E:\YOLOv3_pytorch\YOLOv3_pytorch-master\utils\datasets.py:160: UserWarning: loadtxt: Empty input file: "data/labels/008806.txt"
labels0 = np.loadtxt(label_path, dtype=np.float32).reshape(-1, 5)
E:\YOLOv3_pytorch\YOLOv3_pytorch-master\utils\datasets.py:160: UserWarning: loadtxt: Empty input file: "data/labels/003905.txt"
labels0 = np.loadtxt(label_path, dtype=np.float32).reshape(-1, 5)
E:\YOLOv3_pytorch\YOLOv3_pytorch-master\utils\datasets.py:160: UserWarning: loadtxt: Empty input file: "data/labels/000512.txt"
labels0 = np.loadtxt(label_path, dtype=np.float32).reshape(-1, 5)
Traceback (most recent call last):
File "E:/YOLOv3_pytorch/YOLOv3_pytorch-master/train.py", line 211, in
loss_list = train(
File "E:/YOLOv3_pytorch/YOLOv3_pytorch-master/train.py", line 112, in train
for i, (imgs, targets, _, _) in enumerate(dataloader):
File "E:\YOLOv3_pytorch\YOLOv3_pytorch-master\utils\datasets.py", line 216, in next
labels_all = torch.from_numpy(np.concatenate(labels_all, 0))
File "<array_function internals>", line 5, in concatenate
ValueError: need at least one array to concatenate
个人分析过后发现里面警告的部分是对应的label为空,没有标记数据,是不是需要改动代码
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.