Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to YOLOV7 or YOLOX project unmaintained #557

Open
mahnehsilla opened this issue Feb 16, 2023 · 4 comments
Open

Move to YOLOV7 or YOLOX project unmaintained #557

mahnehsilla opened this issue Feb 16, 2023 · 4 comments

Comments

@mahnehsilla
Copy link

mahnehsilla commented Feb 16, 2023

-deleted-

@mahnehsilla mahnehsilla changed the title A set of advices if you spend long time debugging Possible mistakes and workarounds Feb 17, 2023
@PrajwalCogniac
Copy link

Hey @mahnehsilla Please tell me this I am really struggling

@mahnehsilla
Copy link
Author

mahnehsilla commented Mar 17, 2023

@PrajwalCogniac use yolov7 or yolox this project is unmaintained and does not work

@PrajwalCogniac
Copy link

Hey @mahnehsilla
Thanks a lot for the reply,
So the problem I am facing is I have to use yolov4 for inference. I don't have control over the training portion.
My client gave me the .cfg and weights of yolo4 and I have to run inference on it.
Also the format of .cfg for route layer is like this
[route]
layers = -1
groups = 2
group_id = 1
Can I use the yolo7 or yolox to load the yolo4 weights and config ?
Also any help in navigating this will be deeply appreciated

@mahnehsilla
Copy link
Author

mahnehsilla commented Mar 17, 2023

No, you cant transfer the weights to yolox or yolov7 because the Neural Net Architectures are different shape, and the weights can not be transferred to completely different shapes. The weights can only be transferred if one nn is extension of another, or the exact same shape.

It may be possible to do inference with this project, but you will have to share a notebook for me to help, and I can not be sure I can help.

The way to go is to pick yolov7 or yolox, train the NN so you get the new weights, and do inference with the model you trained i.e yolov7 or yolox.

@mahnehsilla mahnehsilla changed the title Possible mistakes and workarounds Move to YOLOV7 or YOLOX project unmaintained Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants