This is the deep learning algorithm developed for image matching in underwater environments.
-
Python 3.8
-
PyTorch 1.13.0
-
TensorFlow 2.11.0
The underwater images are from the dataset Tasmania Coral Point Count published by ACFR.
After downloading the Tasmania Coral Point Count dataset, reconstruct it as structure below:
Dataset
- Group 1
- Scene 1 Left
- Scene 1 Right
- Group 2
...
...
...
-
Edit Hyper Parameter in
option.py
-
Run
train.py
-
All data will be saved under
logs
-
Load weights in
option.py
-
Run
predict.py
-
Insert the first picture
-
Insert the second picture
-
Obtain the similarity score
If you want to use this open source code for CTNet, please cite this github link.
Thanks for these open source publishers !!!
The code for CTNet is based on:
The code for Siamese Network is based on:
The code for MAML is based on:
The code for Reptile is based on: