Closed oterocoronel closed 1 year ago
Ah, this was a recent careless change on my part. I will fix it. You should be able to run the following steps without a problem though since all results are already saved to disk.
This function is used just for calculating a correlation map for a given set of parameters, right? i.e., is it okay to skip this cell altogether if I already ran the one sweeping for different parameters?
No, you need to run this to have a correlation map of the full dataset. The sweep only does the first few batches of the data with each parameter set (defined by n_test_iters
), but this function calculates it on all of the batches. The intended use is to run the sweep, select the best parameters, and then run this function.
Though the error is OK to ignore since it's just on the return value, all the results are saved to disk earlier in the execution of this function
The subsequent steps also expect the outputs to be in the location calculate_corr_map
will save them
I was running this:
vmap, mean_img, max_img = job.calculate_corr_map(svd_info)
and it ran through all the batches, but eventually crashed: