def download_pre_train(file_path, extract_path): """Download pre train file from link in constant.py. Args: file_path: String, contains download file path + file name. extract_path: String extract path name. """ file_link = Constant.PRE_TRAIN_FILE_LINK print("try downloading pre train weights from link %s" % file_link) download_file_with_extract(file_link, file_path=file_path, extract_path=extract_path)
def download_pre_train(file_path, extract_path): file_link = Constant.PRE_TRAIN_FILE_LINK print("try downloading pre train weights from link %s" % file_link) download_file_with_extract(file_link, file_path=file_path, extract_path=extract_path)