Comments (11)
same problem
from keras-yolo4.
same problem with custom dataset
from keras-yolo4.
@elesun2018 @farhantandia any updates? I am also on this issue with the original yolov4.weights downloaded/
from keras-yolo4.
the model is successfully converted, I forgot to specify the classes.txt if you are using custom dataset.
from keras-yolo4.
@farhantandia I am using the stock yolov4.weight files?
When I run the convert.py, I am getting the buffer issue size. How did you resolve?
from keras-yolo4.
It also works for standard yolov4 weights in my case.
from keras-yolo4.
@farhantandia can you share your code?
the convert.py - specifically? Still not working for me haha
from keras-yolo4.
same problem, any solution?
from keras-yolo4.
This convert file is also not working please provide working codes
from keras-yolo4.
@vihari1729 @xellDart which version of keras (and TF) do you use? I faced the same error due to another version of keras that has slightly different indexing mechanism of new created layers, i.e. in my case the first Conv2D layer had name "conv2d" (in keras 2.4.0) instead of expected "conv2d_1" (in keras 2.2.4). So, some layers become missed and weights are assigned by wrong names with shift to another layers. This leads to this error when it faces with another shape of some layer.
Try to use these versions
from keras-yolo4.
In line 71(convert.py) change "conv2d_" to conv2D
if layer_name.startswith('conv2D'):
There will be warnings but the tensorflow model "yolo4_weight.h5" will be generated.
from keras-yolo4.
Related Issues (20)
- 恕我直言qqwweee那版yolo3就是个废仓库 HOT 13
- YOLO V4太容易OOM报错,有解决办法么,多GPU完全没法加速了 HOT 6
- Poor detection when trained on custom dataset HOT 19
- MemoryError
- keras和tensorflow的版本? HOT 1
- Your some layers are different from miemie2013's. HOT 1
- How about tiny yolov4?
- Error while running test.py
- Did you test accuracy of converted YOLOv4-model on MSCOCO?
- What do the four parameters after loss mean during training, loss of each category or other else?
- [BUG] iou computation in preprocess_true_boxes() should not use scaled bbox
- ValueError: Shapes (1, 1, 1024, 75) and (255, 1024, 1, 1) are incompatible HOT 5
- Batching with inference
- train.py
- Can't seems to be working with yolo tiny
- 网络结构层数对应问题
- convert h5 file
- 你好 ! 我不能導入 yolo4.py 的類別 YOLO
- ValueError: height and width must be > 0 - stable diffusion animation
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 keras-yolo4.