PruneTruong / DenseMatching

Dense matching library based on PyTorch
GNU Lesser General Public License v2.1
689 stars 81 forks source link

Training on my own Data #13

Closed davidz123 closed 2 years ago

davidz123 commented 3 years ago

https://github.com/PruneTruong/GLU-Net/issues/11#issuecomment-951617806

PruneTruong commented 2 years ago

Hi, as I said, i did not generate the csv files myself. In this example https://github.com/PruneTruong/DenseMatching/blob/main/train_settings/GLUNet/train_GLUNet_with_synthetically_generated_data.py, I generate random flow fields on the fly, and apply them to an image, to create a training image pair. If you wanted to create a csv file instead, you could log the values of the created intermediate theta in the function 'SynthecticAffHomoTPSTransfo', which are in my case used to create a flow field.