-
Notifications
You must be signed in to change notification settings - Fork 58
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
How to train on own dataset ? #3
Comments
The
where H: is the image height You can create a file like |
First of all, Thanks a ton for the fast reply! I'll explore the file and try to reverse engineer it as much a possible. I've never worked with pytorch so this is pretty new to me. When you say a single point for each object... does that mean something like the center point of each object ? For example 0 0 0 0 would mean that the 1 corresponds to the center of an object ? If that's the case I have the four coordinates for each object (I annotated them because I tried to solve it as an object detection challenge), I could just take the centroid right ? |
Happy to help!
Yes, you can take the center of the object as a single point, just like the example you showed. The value of the point represents the class of the object. |
Okay I've seen the trancos.py file and mostly understand what's happening.
|
|
|
|
Man, the last few days I've been breaking my head over this. I don't exactly "get" the loss function (All 4 losses) or how you implemented it in torch. I was hoping if I get the loss function I could write it in keras (which I'm comfortable with). Is there maybe another source (like a blog post or an article) that explains how you practically implemented the loss (and the entire model in general) ? Thanks a ton for helping out! (I'm also closing this issue, since you did solve the actual issue) |
you are welcome! you are free to open another issue where i can explain each part of the loss and/or architecture for you. I don't think there is another source yet, but I am planning to create a blog post on this at some point. Sorry :( |
|
Actually ,in shanghai.py , line 45, there are .mat files?So ,what's the meaning of |
I wanna try training LCFCN on my own dataset. What are the things I should be looking at (images, annotations, etc) to train the model on my own dataset ?
The text was updated successfully, but these errors were encountered: