Giter Site home page Giter Site logo

yolox's Introduction

Hey, Traveler! 👋

I'm yuyang, a PhD candidate at ICA, ECNU @ECNU-ICA.

Currently, my research interests include:

  • Information Extraction 🔧
  • Knowledge Graph 💬
  • Commonsense Knowledge 🌱

Enjoy yourself.

yolox's People

Contributors

yuto3o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

yolox's Issues

train.py not working

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

backbone yolov4

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?

yolox initial weight

hello
thanks for your coding
which initial wieght we use in the running code with yolox network at cfg files?

AP is not improved!!!

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?

Handling non-square images

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

Weights file used in the implementation

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?

Getting Error while executing yolo_utils.non_max_suppression(predictions)

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?

convert weights to .h5

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.

Transform Model to Real_Time: Serialize Model

It is possible to Save the trained model in tensorflow format for real_time use with OpenCV-OpenVino?

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.

Load a model imported from Tensorflow

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!

train error!!!!!

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 usage

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?

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.