PathmindAI / pathmind-api

2 stars 1 forks source link

Simulation train method breaks if there are any other zip files in the directory #39

Open SaharEs opened 2 years ago

SaharEs commented 2 years ago

When there are any other zip files in the directory, when simulation.train() is called, seems like it falls in an endless loop and creates many training.zip files within themselves and ends up exploding in size.

Screen Shot 2021-11-03 at 5 29 29 PM

.

slinlee commented 2 years ago

44 will delete the training.zip file after uploading, unless the user enables debug_mode.

slinlee commented 2 years ago

@SaharEs pointed out the key part of this bug is if there is an existing zip file in the dir, such as 'Trained Poilcy.zip' above