Coder Social home page Coder Social logo

Comments (10)

WongKinYiu avatar WongKinYiu commented on August 15, 2024 3

I just create a colab and simply run follow command, and it works.

!git clone https://github.com/WongKinYiu/yolov7
%cd yolov7
!wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7.pt
!python test.py --data data/coco.yaml --img 640 --batch 32 --conf 0.001 --iou 0.65 --device 0 --weights yolov7.pt --name yolov7_640_val

from yolov7.

WongKinYiu avatar WongKinYiu commented on August 15, 2024 1

You could use requirements.txt first.

from yolov7.

prateekgml avatar prateekgml commented on August 15, 2024 1

@prateekgml what file do you mean to update the path of the .json file from? I have the same error. Thank you.

open test.py file and search for ../coco/annotations/instances_val2017.json

Here you need to update the path of ../coco/annotations/instances_val2017.json with the colab absolut epath.

from yolov7.

bit-scientist avatar bit-scientist commented on August 15, 2024 1

@thank you, it worked.

from yolov7.

RAJA-PARIKSHAT avatar RAJA-PARIKSHAT commented on August 15, 2024

so no requirements.txt, or anything

from yolov7.

prateekgml avatar prateekgml commented on August 15, 2024

@WongKinYiu I tried to run in the colab and faced following error- pycocotools unable to run: [Errno 2] No such file or directory: '../coco/annotations/instances_val2017.json'
image

from yolov7.

prateekgml avatar prateekgml commented on August 15, 2024

@WongKinYiu pls ignore it is solved and I got the following results:-
image

from yolov7.

RAJA-PARIKSHAT avatar RAJA-PARIKSHAT commented on August 15, 2024

@prateekgml how did you solve the error?

from yolov7.

prateekgml avatar prateekgml commented on August 15, 2024

@RAJA-PARIKSHAT update the path of the .json file with the absolute path and the error will be resolved.

from yolov7.

bit-scientist avatar bit-scientist commented on August 15, 2024

@prateekgml what file do you mean to update the path of the .json file from? I have the same error. Thank you.

from yolov7.

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.