Comments (14)
我是训练过程中mAP出现nan,这是什么问题呢?
Epoch 25/50
loss: [2.29048967][0][2.29048967][0]
1234/1234 [==============================] - 398s 323ms/step - loss: 3.6579.30782938][0][4.30782938][0]]]
Epoch end eval mAP on weight logs/000/ep025-loss3.658.h5
Epoch 25 mAP nan
from keras-yolo4.
from keras-yolo4.
from keras-yolo4.
loss和val loss总是出现nan
在哪里设置图像路径的?
from keras-yolo4.
loss和val loss总是出现nan
我也是训练时loss和val出现nan, 然后发现把input图片的尺寸改成612x612,可以缓解这个问题。
from keras-yolo4.
loss和val loss总是出现nan
我也是训练时loss和val出现nan, 然后发现把input图片的尺寸改成612x612,可以缓解这个问题。
我设置成612之后还是有这个问题
from keras-yolo4.
loss和val loss总是出现nan
我也是训练时loss和val出现nan, 然后发现把input图片的尺寸改成612x612,可以缓解这个问题。
我设置成612之后还是有这个问题
他说的完善
感觉还是他的代码不太完善,是不是损失函数有问题
from keras-yolo4.
损失函数是有问题,也可能是权重初始化的参数有问题(那部分来源于yolov3),在加载预训练权重的前提下可以训练,这两部分都需要重写
from keras-yolo4.
损失函数是有问题,也可能是权重初始化的参数有问题(那部分来源于yolov3),在加载预训练权重的前提下可以训练,这两部分都需要重写
Have you had a chance to fix the issues in train? thanks
from keras-yolo4.
我是训练过程中mAP出现nan,这是什么问题呢?
Epoch 25/50
loss: [2.29048967][0][2.29048967][0]
1234/1234 [==============================] - 398s 323ms/step - loss: 3.6579.30782938][0][4.30782938][0]]]
Epoch end eval mAP on weight logs/000/ep025-loss3.658.h5
Epoch 25 mAP nan
@Kuuuo have you been able to solve it?
from keras-yolo4.
Maybe the learning rate is set too large
…
------------------ 原始邮件 ------------------ 发件人: "Ma-Dan/keras-yolo4" @.>; 发送时间: 2021年6月4日(星期五) 下午2:36 @.>; @.@.>; 主题: Re: [Ma-Dan/keras-yolo4] 训练时候总是出现nan (#4) 我是训练过程中mAP出现nan,这是什么问题呢? Epoch 25/50 loss: [2.29048967][0][2.29048967][0] 1234/1234 [==============================] - 398s 323ms/step - loss: 3.6579.30782938][0][4.30782938][0]]] Epoch end eval mAP on weight logs/000/ep025-loss3.658.h5 Epoch 25 mAP nan @Kuuuo have you been able to solve it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Thank You for your quick response.
by decreasing the learning rate did it solve your problem?
from keras-yolo4.
yes
…
------------------ 原始邮件 ------------------ 发件人: "Ma-Dan/keras-yolo4" @.>; 发送时间: 2021年6月4日(星期五) 下午2:45 @.>; @.@.>; 主题: Re: [Ma-Dan/keras-yolo4] 训练时候总是出现nan (#4) Maybe the learning rate is set too large … ------------------ 原始邮件 ------------------ 发件人: "Ma-Dan/keras-yolo4" @.>; 发送时间: 2021年6月4日(星期五) 下午2:36 @.>; @.@.>; 主题: Re: [Ma-Dan/keras-yolo4] 训练时候总是出现nan (#4) 我是训练过程中mAP出现nan,这是什么问题呢? Epoch 25/50 loss: [2.29048967][0][2.29048967][0] 1234/1234 [==============================] - 398s 323ms/step - loss: 3.6579.30782938][0][4.30782938][0]]] Epoch end eval mAP on weight logs/000/ep025-loss3.658.h5 Epoch 25 mAP nan @Kuuuo have you been able to solve it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Thank You for your quick response. by decreasing the learning rate did it solve your problem? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Great! thanks
from keras-yolo4.
@Kuuuo can you tell me what learning rate you set and what is anchor.txt file ?
from keras-yolo4.
函数损失是有问题,也可能是权重初始化的参数有问题(那部分来自yolov3),在加载预训练重的基础可以训练,这部分权利都需要补充
您好!请问可以自己修改损失函数来解决loss为nan的问题吗?在哪里修改呢
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
- Error while converting to keras model HOT 11
- 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.