Comments (10)
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.
You could use requirements.txt first.
from yolov7.
@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.
@thank you, it worked.
from yolov7.
so no requirements.txt, or anything
from yolov7.
@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'
from yolov7.
@WongKinYiu pls ignore it is solved and I got the following results:-
from yolov7.
@prateekgml how did you solve the error?
from yolov7.
@RAJA-PARIKSHAT update the path of the .json file with the absolute path and the error will be resolved.
from yolov7.
@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)
- Is this repository still maintained? HOT 1
- If my custom dataset are all 300X300, or 600X600, is there necessary to train a model use image-size1280? HOT 4
- How to get segmentations in form of [ [670,35][6,305] [60,3]] from segments model of yolov7
- Don't detect a object in a image after prediction HOT 1
- question about ComputeLossOTA
- Hh
- onnx non end2end
- Problem wher run learning on 32 batch-size
- What exactly does image size do in test.py and detect.py?
- Change class weights HOT 1
- Memory Leak with PyTorch 2.3.1 and torchvision 0.18.1
- Using the train_aux.py training script, single gpu training fails, but multiple gpu training succeeds.
- Explaining this model with grad-CAM
- During the tranining dataloader problem
- clearml.backend_api.session.defs.MissingConfigError: It seems ClearML is not configured on this machine!
- merging of two trained yolov7-tiny model with different classes
- Best Python version? HOT 1
- No pretrained model 'yolov7-tiny-seg.pt' to download
- It make '00123.jpg' to {"image_id": 123, when save json HOT 1
- Dear author, I have a question about cfg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov7.