Closed Mjvolk3 closed 1 year ago
Hey Michael,
First and foremost, thanks for trying to reproduce & use this! It's really nice to see.
As for the specific error, I'm a little bandwidth limited and won't be able to debug much further at the moment. It looks like it's a problem with parallelization across workers, so you may be able to fix this error by reducing num_workers to 0, at least for debugging to see if that helps? It will slow it down, but should at least run and provide clues for how to remove parallelism challenges. With the 10k dataset and not using forward augmentation, it shouldn't be terrible slow. Let me know if this works!
Sam
Thanks Sam, this resolves the issues for now. Looks like there might be some more general issues with multiprocessing on Mac OS for python 3.8. From what I can tell the issue is related to how the data is collated in datasets.py
.
Hi Michael, I'm marking this as resolved for now. I recently pushed an updated version of MIST, that I am hoping will address this and streamline the model training process. Thanks again for your patience and giving these methods a shot-- hope your work is going well!
Sam
I am having trouble running the MIST fingerprint model on mac os. I have been able to run everything up until the FFN binned model except the MIST fingerprint model. I rebuilt the environment from scratch due getting
UnsatisfiableError: The following specifications were found to be incompatible with each other: ...
after runningconda env create -f environment.yml
. I have attachedconda list
below if it helps. The error I am getting isTypeError: h5py objects cannot be pickled
. I am suspicious it is an OS issue because I have done the same procedure on linux andpython run_scripts/train_mist.py
works.