Git Product home page Git Product logo

Comments (6)

Ham-png avatar Ham-png commented on May 29, 2024

Moreover,

File "/home/ubuntu/NoFileReplication/root/BGF-YOLO-1.1/nn/tasks.py", line 209, in init
self.model, self.save = parse_model(deepcopy(self.yaml), ch=ch, verbose=verbose) # model, savelist
File "/home/ubuntu/NoFileReplication/root/BGF-YOLO-1.1/nn/tasks.py", line 560, in parse_model
elif m in (Detect, Segment, Pose, RTDETRDecoder):
NameError: name 'Segment' is not defined

from bgf-yolo.

mkang315 avatar mkang315 commented on May 29, 2024

Thanks for pointing issues out. I've fixed the bugs you mentioned.

from bgf-yolo.

Ham-png avatar Ham-png commented on May 29, 2024

File "/home/ubuntu/SomethingNew/BGF-YOLO-1.2/nn/tasks.py", line 560, in parse_model
elif m in (Detect, Segment, Pose, RTDETRDecoder):
NameError: name 'Pose' is not defined

I'm also going to guess that RTDETRDecoder won't be defined either.

from bgf-yolo.

Ham-png avatar Ham-png commented on May 29, 2024

To give some context, I am changing all the paths to absolute imports and running python -m yolo.bgf.detect.train

from bgf-yolo.

mkang315 avatar mkang315 commented on May 29, 2024

File "/home/ubuntu/SomethingNew/BGF-YOLO-1.2/nn/tasks.py", line 560, in parse_model elif m in (Detect, Segment, Pose, RTDETRDecoder): NameError: name 'Pose' is not defined

I'm also going to guess that RTDETRDecoder won't be defined either.

Thank you very much! Some packages were omitted when changing the directories from the original YOLOv8 code.

from bgf-yolo.

mkang315 avatar mkang315 commented on May 29, 2024

To give some context, I am changing all the paths to absolute imports and running python -m yolo.bgf.detect.train

There were not bugs if not changing the original directory path of ultralytics. Thank you for your understanding.

from bgf-yolo.

Related Issues (9)

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.