havanagrawal / clomask

Capstone Project for Clobotics: Using Mask R-CNN for Rigid/Non-Rigid Retail Consumable Product Detection
MIT License
7 stars 4 forks source link

Notebook fix #34

Closed pshivraj closed 5 years ago

pshivraj commented 5 years ago

This small PR fixes output folder creating in the Synthetic-Data-Creation-for-Retail-Environments.ipynb notebook.

output_dir = "data/"
if not os.path.exists(output_dir ):
    os.mkdir(output_dir )
havanagrawal commented 5 years ago

Instead of handling this in the notebook, just replace this line here with

os.makedirs(save_path)
pshivraj commented 5 years ago

Instead of handling this in the notebook, just replace this line here with

os.makedirs(save_path)

Thanks this makes much more sense.

This has been fixed in the latest commit.