Comments (5)
def img2label_paths(img_paths):
# Define label paths as a function of image paths
sa = 'images'
sb = 'labels'
# sa, sb = os.sep + 'images' + os.sep, os.sep + 'labels' + os.sep # /images/, /labels/ substring
return [x.replace(sa, sb, 1).replace('_' + x.split('_')[-1], '.txt') for x in img_paths] #replace('.' + x.split('.')[-1], '.txt')
from superyolo.
可以看一下断点运行到这
Line 407 in e6c5c72
,确认一下图像和标签的路径对不对。
from superyolo.
没有预训练权重的化怎么样训练自己的数据集成
from superyolo.
您好,我这边在训练时,按照您的步骤先下载数据集然后transform,运行只训练RGB,还是出现标签找不到:No labels in D:\experienment\SuperYOLO-main\SuperYOLO-main\dataset\VEDAI_1024\images.cache. Can not train without labels;您知道这该如何解决么
您好 您解决了吗
from superyolo.
def img2label_paths(img_paths): # Define label paths as a function of image paths sa = 'images' sb = 'labels' # sa, sb = os.sep + 'images' + os.sep, os.sep + 'labels' + os.sep # /images/, /labels/ substring return [x.replace(sa, sb, 1).replace('_' + x.split('_')[-1], '.txt') for x in img_paths] #replace('.' + x.split('.')[-1], '.txt')
谢谢 成功运行了
from superyolo.
Related Issues (20)
- 请问MF模块的输入为什么是256尺寸的,imgsz不是1024吗?
- 关于MF过程的疑问 HOT 1
- AttributeError: 'Model' object has no attribute 'steam'
- AttributeError: module 'numpy' has no attribute 'int'. HOT 4
- Question about annotation HOT 2
- test结果 HOT 6
- 请问loss.py中补充的LevelAttention_loss有使用到吗
- 测试使用作者提供的预训练权重问题 HOT 1
- 请问作者在export过程中是否有遇到过索引越界问题,具体问题在commom.py的MF类中 HOT 1
- 测试模型参数和GFLOPs问题 HOT 5
- 作者什么时候能更新superyolo版本的export.py HOT 1
- how super resolution work and where?
- 训练时无法找到标签
- Welcome to SuperYOLO Discussions! HOT 6
- SR的效果如何体现 HOT 3
- About multimodal results on YOLOv5
- 请问VEDAI数据集为什么在论文结果对比和代码中只保留了8类,删去了vehicle呢?
- SR网络 HOT 1
- Tag corresponding category
- SR分支
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superyolo.