Git Product home page Git Product logo

Comments (7)

BFascione avatar BFascione commented on July 18, 2024

I get the same issues if I leave the output dir. as default and only change the input directory

python main.py -i d:\datasets\images_in\ --tracker DASIAMRPN -n 125

FileNotFoundError: [Errno 2] No such file or directory: 'output\PASCAL_VOCpeople_walking_mp4\people_walking_mp4_0.xml'
(Tensorflow-05) C:\Users\brian\PycharmProjects\Github\OpenLabeling\main>

from openlabeling.

Cartucho avatar Cartucho commented on July 18, 2024

Yeah, the problem is being caused by the lack of backslash. I have to debug this on windows. There is a os.path.join missing somewhere

from openlabeling.

Cartucho avatar Cartucho commented on July 18, 2024

Could you check what is going to the variable xml_path in the function create_PASCAL_VOC_xml()?

I mean adding a print(xml_path) to line 738

from openlabeling.

BFascione avatar BFascione commented on July 18, 2024

I've printed out xml_path from the create_PASCAL_VOC_xml()

this is what I got back .. hope it helps

d:\datasets\images_out\PASCAL_VOCpeople_walking_mp4\people_walking_mp4_0.xml

from openlabeling.

BFascione avatar BFascione commented on July 18, 2024

I've manged to find a fix/work-around that seems to work

I've added +'\' to the new_path = os.path.join(OUTPUT_DIR , ann_dir)

see below

def get_annotation_paths(img_path, annotation_formats):
annotation_paths = []
for ann_dir, ann_ext in annotation_formats.items():
new_path = os.path.join(OUTPUT_DIR , ann_dir + '\')

Brian

from openlabeling.

Cartucho avatar Cartucho commented on July 18, 2024

I think I just fixed it. Could you give it a try with the new version?

from openlabeling.

BFascione avatar BFascione commented on July 18, 2024

yes works thanks

from openlabeling.

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.