FAQs
Can I run GaMPEN on any galaxy image?
No! Please see our recommendations in the Using GaMPEN.
I am having difficulty enabling GPU support. What should I do?
Try using Google Colab like we have done in the Tutorials.
I am on a multi-GPU machine; and my code hangs during training or inference.
GaMPEN uses
torch.nn.DataParallelfor it’s multi-GPU training and inference and this might not work in certain systems and cause your program to hang (without any output) right at the point where the model interacts with the GPU in any way.If this is the case, the easiest solution is to set the
CUDA_VISIBLE_DEVICESenvironment variable in your shell to one of the available GPUs. For example, if there are two GPUs, these would be0and1; and we recommend settingCUDA_VISIBLE_DEVICESto either0or1in this scenario.What if my question is not answered here?
Please send me an e-mail at this
aritraghsh09@xxxxx.comGMail address. Additionally, if you have spotted a bug in the code/documentation or you want to propose a new feature, please feel free to open an issue/a pull request on GitHub.