Code Monkey home page Code Monkey logo

Comments (7)

czy112 avatar czy112 commented on September 26, 2024

请问你有解决吗?

from pytorch-yolo-v1.

Kun-Mengyao avatar Kun-Mengyao commented on September 26, 2024

同问!!!请教

我想请问下数据集的目录形式,和这段代码是什么意思?
if isinstance(list_file, list):

Cat multiple list files together.

This is especially useful for voc07/voc12 combination.

tmp_file = '/tmp/listfile.txt'
os.system('cat %s > %s' % (' '.join(list_file), tmp_file))
list_file = tmp_file

同问!!不知道'/tmp/listfile.txt'里面是什么文件

from pytorch-yolo-v1.

M088 avatar M088 commented on September 26, 2024

你好,请问你解决了吗

from pytorch-yolo-v1.

freemedom avatar freemedom commented on September 26, 2024

list_file就是个list,里边有一些"xxx.txt"
代码的意思就是合并这些txt到一个txt“/tmp/listfile.txt”中

from pytorch-yolo-v1.

freemedom avatar freemedom commented on September 26, 2024

理论上会自动创建这个文件的,但是文件夹不能自动创建

from pytorch-yolo-v1.

myshrry avatar myshrry commented on September 26, 2024

cat查看list_file中的所有txt文件内容,>重定向到tmp_file文件

from pytorch-yolo-v1.

Zero-2021 avatar Zero-2021 commented on September 26, 2024

你需要吧voc2012.txt和voc2007混合,同样图片数据集也需要混合。

from pytorch-yolo-v1.

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.