Giter Site home page Giter Site logo

train about superyolo HOT 5 CLOSED

shuoshuoshuoer avatar shuoshuoshuoer commented on July 27, 2024
train

from superyolo.

Comments (5)

dwddw avatar dwddw commented on July 27, 2024 1
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.

icey-zhang avatar icey-zhang commented on July 27, 2024

可以看一下断点运行到这

self.label_files = img2label_paths(self.img_files) # labels

,确认一下图像和标签的路径对不对。

from superyolo.

ljs-1 avatar ljs-1 commented on July 27, 2024

没有预训练权重的化怎么样训练自己的数据集成

from superyolo.

Joey-He avatar Joey-He commented on July 27, 2024

您好,我这边在训练时,按照您的步骤先下载数据集然后transform,运行只训练RGB,还是出现标签找不到:No labels in D:\experienment\SuperYOLO-main\SuperYOLO-main\dataset\VEDAI_1024\images.cache. Can not train without labels;您知道这该如何解决么

您好 您解决了吗

from superyolo.

Joey-He avatar Joey-He commented on July 27, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.