Giter Site home page Giter Site logo

Comments (9)

SpursLipu avatar SpursLipu commented on June 8, 2024

你用的训练指令是什么?

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

seek-ing avatar seek-ing commented on June 8, 2024

@SpursLipu
谢谢回复
python3 train.py --data data/obj.data -pt --batch-size 16 --weights weights/yolov3.pt --cfg cfg/yolov3.cfg

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

SpursLipu avatar SpursLipu commented on June 8, 2024

我在训练的过程中没有遇到过这个问题,你可以检查一下你是用数据集的分类数是否与yolov3.cfg中的分类数相等(80类),-pt是使用在coco上进行预训练的.weights文件时使用的命令,不知道是不是和你的指令有冲突。

另外这个仓库中的detect.py程序是使用原图的分辨率进行检测的,你可以测试一下效果。

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

seek-ing avatar seek-ing commented on June 8, 2024

@SpursLipu
谢谢~
我的是7分类,我把 -pt去除也遇到了同样的问题
你师兄是缩放成256x416的?

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

SpursLipu avatar SpursLipu commented on June 8, 2024

你用multi-scale训练暂时就没问题了,我在排查你说的问题。

缩放都是使用原分辨率除以输入图片长边算出的缩放倍数进行缩放的,检测时的缩放是没有填充。

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

SpursLipu avatar SpursLipu commented on June 8, 2024

应该是解决了,你可以再试一下

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

seek-ing avatar seek-ing commented on June 8, 2024

@SpursLipu 非常感谢~

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

Fly-dream12 avatar Fly-dream12 commented on June 8, 2024

When i try to prune the model, I also encounter this error " YOLOLayer object has no attribute 'grid'". My comand is:
python train.py --data --batch-size --weights big_model/best.pt --cfg --sr --s 0.001 --prune 0 --single_cls
Can you give some suggestions? @SpursLipu

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

SpursLipu avatar SpursLipu commented on June 8, 2024

I have already solve this problem, you can download new version of this repository.

from yolov3v4-modelcompression-multidatasettraining-multibackbone.

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.