Integrate the structure of train, eval, and predict
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
@ssarfjoo the reason that this script (
predict_bio
) takes biofiles, database, and load_data is that because they are needed so that the script can split them into several jobs when they are in a job array.We used to have another script called
predict_generic
which did what you wanted but it was removed since no one used it. I suggest you put that script back (you can write it from the beginning starting frompredict_bio
. You can also call itpredict
.) and share its code with thepredict_bio
script.Edited by Amir MOHAMMADI236 245 checkpoint_path=checkpoint_path, 237 246 ) 238 247 239 logger.info("Saving the predictions of %d files in %s", len(generator), 240 output_dir) 248 if not generator is None: 249 logger.info("Saving the predictions of %d files in %s", len(generator), 250 output_dir) 251 else: 252 logger.info("Saving the predictions files in %s", output_dir) 241 253 242 254 pool = Pool()
Please register or sign in to reply