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
This project adapts a ResNet50 model architecture to perform pose estimation on several series of satellite images (both real and synthetic).
For more information, please see the SPARK Challenge ( https://cvi2.uni.lu/spark2022/ ) organized as part of the AI4Space workshop, in conjunction with the European Conference on Computer Vision (ECCV 2022).
Installing packages
See requirements.txt and make sure to also install cudatoolkit if you plan to run with a GPU.
HPC Environment Setup
If running on the UniLux HPC, please see notes in hpc_setup.sh
Running the code
To train the model:
python run_train_model.py
To train the model and output all print statements to a local file:
python run_train_model.py > LOGS.txt
To load and test the saved, pre-trained model on the test_real dataset:
python run_train_model.py -l -tr
To load and test the saved, pre-trained model on the test_synthetic dataset:
python run_train_model.py -l -ts
Output and results
After training, the trained model and optimizer are stored in results/model+optimizer.pth
Model predictions are stored as CSV files in predictions/