JotaBravo / spacecraft-uda

Spacecraft Pose Estimation: Robust 2D and 3D-Structural Losses and Unsupervised Domain Adaptation by Inter-Model Consensus
https://ieeexplore.ieee.org/document/10225381
MIT License
19 stars 1 forks source link

Heatmaps structure and validation #14

Open boijuny opened 1 month ago

boijuny commented 1 month ago

Hey JotaBravo, congratulations for you and your team's work on the spacecraft robust pose estimation.

I am trying to reproduce the result of your work in order to understand the challenges of domain gap adaptation in spatial field. In order to do so, i retrieved the weights of the 2 stacked large Hourglass model on the synthetic dataset and tried to view the results. I struggle a bit on understanding the the output data. Is it possible to have few details about it ?

First, i managed to retrieve the weights and perform a prediction based on a random image of the synthetic dataset. The model then gives me an output as a list and len(output) = 2 :

Also, i tried to display the heatmaps to identify their keypoints id but i have few concerns :

Thank you for your time and your amazing work !

JotaBravo commented 1 month ago

Hi boijuny,

Thanks for your kind words on the work.

As you mention, you are using a stack of 2 Hourglass networks. Each element of the output list corresponds to the individual output of each network in the stack.

Each output contains two tensors:

Regarding the heatmap plotting:

I'm planning to post a tutorial soon with some simple, base code for spacecraft pose estimation. Please stay tuned, it might be useful