You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download them and place in the folder where you will be saving your weights (./weights according to the default config file)
The weights will be saved in the following a particular format, for eg. [epoch]_net_G_A.pth and latest_net_G_A.pth which signifies the latest checkpoint, you can specify the epoch you want to load weights from in the config file.
Training
The model follows iterative optimization technique as described in the paper.
Only CycleGAN is trained for 10 epochs, thus set warmup: True in config file
Change warmup: False for training combined step 1,2,3,4
For quantitative results, prepare a config file (eg. pittsburgh_test.yaml) and run python test.py --config ./configs/pittsburgh_test.yaml
Summary
Summaries are created inside ./summary folder
to view loss logs run tensorboard --logdir ./summary
Differences from the original Paper
The spectral translation network is cyclegan and not F-cyclegan
The weights of the losses are different, for some reason the network was not converging with the default loss weights for my training setup.
The model is not optimized for best performance since I don't have the hardware that was used by the authors and rely on Colab for open source projects :)
About
PyTorch implementation for unsupervised cross-spectral stereo matching using cycleGAN & dispnet