In [ ]:
!wget http://blpd13.ssl.berkeley.edu/dl/GBT_58402_66623_NGC5238_mid.h5
!wget http://blpd13.ssl.berkeley.edu/dl/GBT_58402_66967_HIP66130_mid.h5
!wget http://blpd13.ssl.berkeley.edu/dl/GBT_58402_67632_HIP65057_mid.h5
!wget http://blpd13.ssl.berkeley.edu/dl/GBT_58402_67960_NGC5204_mid.h5
!wget http://blpd13.ssl.berkeley.edu/dl/GBT_58402_73341_LV_J1342+484_mid.h5
!wget http://blpd13.ssl.berkeley.edu/dl/GBT_58404_29759_UGC05288_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57635_43626_HIP14172_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57635_38417_HIP14445_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57635_36680_HIP15598_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57635_39116_HIP14729_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57626_79639_HIP67301_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57626_70117_HIP55241_mid.h5
!wget http://blpd7.ssl.berkeley.edu/dl2/GBT_57626_66564_HIP56035_mid.h5
!pip install blimpy
!pip install setigen
In [ ]:
!git init
!git remote add origin https://github.com/PetchMa/DeepSeti.git
!git pull origin master
In [0]:
from DeepSeti import DeepSeti
direct = ['/content/GBT_58402_66623_NGC5238_mid.h5',
'/content/GBT_58402_66967_HIP66130_mid.h5',
'/content/GBT_58402_67632_HIP65057_mid.h5',
'/content/GBT_58402_67960_NGC5204_mid.h5',
'/content/GBT_58402_73341_LV_J1342+484_mid.h5',
'/content/GBT_58404_29759_UGC05288_mid.h5',
'/content/GBT_57635_43626_HIP14172_mid.h5',
'/content/GBT_57635_39116_HIP14729_mid.h5',
]
DeepSeti = DeepSeti()
DeepSeti.unsupervised_data(direct)
DeepSeti.supervised_data(direct)
DeepSeti.encoder_injection_model_defualt_create(CuDNNLSTM=False)
DeepSeti.train_custom_data(epoch=150, batch=20000)