Skip to content

Commit

Permalink
coloring name
Browse files Browse the repository at this point in the history
  • Loading branch information
AAA11110 committed Nov 21, 2023
1 parent 57446f0 commit 718c247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 56 deletions.
55 changes: 0 additions & 55 deletions Augmentation/coloring

This file was deleted.

3 changes: 2 additions & 1 deletion Augmentation/coloring.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ def colorize(washed):
for i in range(3):
mask[i][washed == 0] = np.uint8(255)
return mask.transpose((1,2,0))

def create_path(path):
try:
os.makedirs(path)
except:
print(f'{path} already exists!!!')


0 comments on commit 718c247

Please sign in to comment.