I'm yuyang, a PhD candidate at ICA, ECNU @ECNU-ICA.
Currently, my research interests include:
- Information Extraction 🔧
- Knowledge Graph 💬
- Commonsense Knowledge 🌱
Enjoy yourself.
More Than YOLO(v3, v4, v3-tiny, v4-tiny)
I'm yuyang, a PhD candidate at ICA, ECNU @ECNU-ICA.
Currently, my research interests include:
Enjoy yourself.
Hi @yuto3o,
Is it okay to publish YOLOv4-tiny pre-trained model? I would like to test it.
Thanks a lot!
Hey,
I am currently having a problem with train.py
After some debugging I found that the error occurs at the following line:
model.fit(train_dataset, steps_per_epoch=len(train_dataset), epochs=warmup_epochs, callbacks=warmup_callback)
and the Error message obtained is the following:
self._value = int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'tuple'
any idea what is causing this? or how to investigate further where the error is comming from?
Thank you in advance
Merwan
I have couple of things to understand a bit more.
looks like yolov4 also has darknet53 as backbone with Mish activation, is my understanding correct?
having mish activation and cspdarknet53 backbone improves the accuracy? suppose to improve accuracy based on the paper.
looks like there are different variations of loss functions, would you mind describing scenarios in which a particular loss function recommended or best loss function in ideal cases?
hello
thanks for your coding
which initial wieght we use in the running code with yolox network at cfg files?
Hi, thanks for nice code!
I was trying to understand the reason for calling fit method thrice in train.py, would you mind explaining a bit about it?
hello
thanks for codes
i trained yolov3 tiny version by yymnist dataset but in all epochs AP is zero!!!
How can I solve this problem?
大佬 ,感谢你上期的回答,但是现在这个问题导致训练的效率没有提升,如果可以的话能不能加一下你的微信或qq向你学习一下代码和调参,我现在很想把yolov4-tiny吃透
Greetings,
I am using YOLOv4_tiny to detect objects on images in the shape 2704x1520. How to configure yaml cfg files?
When I am using the images in the shape 2704x1520, the Keras throws a dimension mismatch error.
Ratko
@yuto3o 你好,请问这两个loss是啥?
Could you provide pretrained weights file you have used? When I tried to use the files in the provided link, the assertion fails and gives "AssertionError: failed to read all data". I believe the weights file must be in the form of h5 yet the files in the provided link have the extension of .weights. How can I convert them to h5 and feed to your models?
Hi,
A really great piece of work done by you here.
I was able to successfully convert my weights and cfg files from darknet to tensorflow ckpt. I was using 3 classes so, I had to change filters in a few layers from 255 to 24 and I was able to get a prediction using the model. But after getting the prediction when I am using yolo_utils.non_max_suppression, I am getting the following error :
File "/Users/asdhiman/DataAnalysis/darkflow_yolo/yolov3-tensorflow/yolo_utils.py", line 92, in non_max_suppression
image_pred = image_pred.reshape(-1, shape[-1])
ValueError: cannot reshape array of size 722 into shape (8)
I am using an input image of shape 608 X 608 as my model was trained on the same dimensions in the darknet yolov3. Do I need to change anything in order for non_max_suppression to run?
thanks for your great code. i have downloaded yolov4.weights from alexey ab directory, but i can not convert it to .h5 format as you have suggested. please help.
thanks.
@yuto3o
Thank you for your great code. I did everything as explained, but while training i keep receiving the error: "IndexError: index 3 is out of bounds for axis 0 with size 3" after some train steps. what do you think could be the problem? Thanks.
As far as I know Tf.Keras runs on top of TensorFlow and it doesn´t create the graph to run this way.
While the detail of graph and session is outside of the scope of this question, how can we deploy it woth OpenCV module:
can still use the following code when deploying your model to be accessible during scheduled sessions.
This is an example. In darknet models it was quite easy and it was compatible with OpenCV. I am not shure if this way it is possible.
tensorflowNet = cv2.dnn.readNetFromTensorflow('frozen_inference_graph.pb', 'graph.pbtxt')
To finish, the rest of the code and they it is structures is impecable.
P.D:
Thank you a lot for all the help to make it easier for us to keep learning from this incredible technology!
hello
thanks for your coding
i get this error when i run the train.py files for yolov3 tiny models
###########################################################################
Traceback (most recent call last):
File "train.py", line 133, in
app.run(main)
File "C:\ProgramData\Anaconda3\envs\tf1g2\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\ProgramData\Anaconda3\envs\tf1g2\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "train.py", line 69, in main
load_weights(model, init_weight)
File "F:\1-project\object detection\yolox\yolox-master\core\utils\weight.py", line 25, in load_weights
model.load_weights(weights_file_path, by_name=True, skip_mismatch=True)
TypeError: load_weights() got an unexpected keyword argument 'skip_mismatch'
#####################################################################################
thanks for helping
大佬,我是初学者,有个问题想问下,我这边训练的时候,GPU占有使用只有零点几G 利用率最多百分之十,而CPU通常利用率百分之百,请问下是什么情况,该如何解决啊
I could notice that when i trigger training, gpu is not being used enen 10% also. would you have any suggestions to improve and fasten the training?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.