Open geoffwoollard opened 1 month ago
@DSilva27 what do you think?
@DavidHerreros to look into writing a dataloader (without pytorch as dependency) for these, which will help external map to map distances.
It can be installed as a external and related repo (without pytorch as a dependency)
Note that the ground truth maps are a flat file of the array. They are in OSF as a .pt and .npy format
In the map to map config file, you need to use the .pt format. But this could be extended.
If you really think this is necessary, you could simply do np.save with allow_pickle=True. We are saving dictionaries, so this should work. The only issue is that when you load you have to do np.load with allow_pickle=True, and then do a np.ndarray.tolist() transform.
External programs that need access to the volumes in .pt (for external map to map distances), would need to have pytorch as a dependency.
There are a few options