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

Annotation for the frame field #30

Closed
kriti115 opened this issue Jan 15, 2022 · 2 comments
Closed

Annotation for the frame field #30

kriti115 opened this issue Jan 15, 2022 · 2 comments

Comments

@kriti115
Copy link

I have the angles for each pixel as a .npy file to be used as groundtruth as mentioned in the paper.

My question is: is this directly used in the network or is there a need to calculate frame field to be fed into the network? If so what should the format be?

I would appreciate any kind of help. Thank you.

@patriksabol
Copy link

patriksabol commented Jan 18, 2022

The angles to be fed into the network are generated during training data generation process implemented as data_transforms (f.e. https://github.com/Lydorn/Polygonization-by-Frame-Field-Learning/blob/master/dataset_folds.py). Your data should be located in "raw" folder, after that, training data are located in "processed" folder. You just need to adjust transformation to your own data.

@kriti115
Copy link
Author

kriti115 commented Feb 6, 2022

@patriksabol Thank you for you input. I was able to understand that we only need the images and binary masks as input and not the angles as they will be calculated while running the network.

I was able to run the network and got the training data as '.pt' file in processed folder. Although the training stopped with error half way I was still able to get half of the data in processed folder.

I will close this issue now.

@kriti115 kriti115 closed this as completed Feb 6, 2022
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