Getting the following error when trying to save a xgboost -> pytorch converted model
Model saved with digest: 309db017069e113ef33ba5f36e1891a8d3ae0207 *** OSError: [Errno 39] Directory not empty: 'PATH/TO/SAVE/MODEL'
specifically the line shutil.rmtree(location)
when forcing a few seconds break with time.sleep before the line, the issue does not occur, there seems to be some file locking that is occuring.
Potentially related to #501