Skip to content

Updated common/preprocess.py#12

Open
sadimanna wants to merge 3 commits into
knjcode:masterfrom
sadimanna:master
Open

Updated common/preprocess.py#12
sadimanna wants to merge 3 commits into
knjcode:masterfrom
sadimanna:master

Conversation

@sadimanna

Copy link
Copy Markdown

Subfolders were not getting created using os.system("mkdir -p {}".format(dirpath)) due to wrong syntax
Replaced os.system("mkdir -p {}".format(dirpath)) with os.mkdir("{}".format(dirpath)).
Added a few lines for creating the dataset folder, train and test folders and the class subfolders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant