Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Heatmap generation, loss, prediction issue #6

Open
vilemil opened this issue Oct 25, 2023 · 1 comment
Open

Heatmap generation, loss, prediction issue #6

vilemil opened this issue Oct 25, 2023 · 1 comment

Comments

@vilemil
Copy link

vilemil commented Oct 25, 2023

First of all, thanks for torch implementation! Finally i managed to run the model in a basketball environment. There was a few issue (in my case), but the overall result is promising.

  • if you are using the labellingTool.py and you don't have w, h columns than the default value will be 50 pixel (sigma)
    https://github.com/mareksubocz/TrackNet/blob/12379a53da4ae343f064690686fd4bdd16da4283/dataset.py#L143C1-L144C43
    and because of this part, the heatmap is wrong (i just deleted it).

  • for me the AdaptiveWingLoss was the right choice. Your constructed loss resulted a wrong anomaly in the training process (there was a weird, consistent blob in the predicted heatmap). I don't know why, I haven't checked it yet.

  • I don't know why, but your predict.py did not work for me. I trained the model with images and tried to test with video files, but somehow the prediction was really bad. I rewrote that part and i read the images as you did it in the ImagesDataset class.

@mareksubocz
Copy link
Owner

Hey,

thank you for your interest and your work. If you would be so kind to provide a pull request, I would gladly review and accept it. I've stopped working on this repository for quite some time due to other priorities, but If you need help with any part of this code I think I'll be able to help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants