Code Monkey home page Code Monkey logo

Comments (10)

WongKinYiu avatar WongKinYiu commented on May 27, 2024

do you delete __init__.py in models folder?

from pytorch_yolov4.

mary-0830 avatar mary-0830 commented on May 27, 2024

没呀,您发布的代码里也没有models呀?

from pytorch_yolov4.

WongKinYiu avatar WongKinYiu commented on May 27, 2024

which branch you used?
and is you command just python train.py?

from pytorch_yolov4.

mary-0830 avatar mary-0830 commented on May 27, 2024

嗯,是的。命令是python train.py。也已经改了cfg和data里面的文件。

from pytorch_yolov4.

mary-0830 avatar mary-0830 commented on May 27, 2024

我在train.py里面也修改了epochs,batch_size,cfg,data,weights,name

from pytorch_yolov4.

WongKinYiu avatar WongKinYiu commented on May 27, 2024

I can not find any code will use models.yolo.
what are your cfg and weights?

from pytorch_yolov4.

mary-0830 avatar mary-0830 commented on May 27, 2024

cfg设置的是cfg/yolov4-pacsp.cfg,weights使用的是weights/yolov4-pacsp.pt。报错的地方
是Traceback (most recent call last):
File "train.py", line 409, in
train() # train normally
File "train.py", line 117, in train
chkpt = torch.load(weights, map_location=device)

from pytorch_yolov4.

mary-0830 avatar mary-0830 commented on May 27, 2024

请问在python 3.5是可以运行的吧?感谢你的回复

from pytorch_yolov4.

WongKinYiu avatar WongKinYiu commented on May 27, 2024

if your yolov4-pacsp.pt file is ~100MB, you download wrong file.
please download the yolov4-pacsp.pt file again, it should be ~200MB.

from pytorch_yolov4.

mary-0830 avatar mary-0830 commented on May 27, 2024

thanks,i will try again.

from pytorch_yolov4.

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.