mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2024-11-28 20:09:58 +00:00
fix typo
This commit is contained in:
parent
93e0dc2307
commit
57932e1708
@ -18,7 +18,9 @@ for path in paths:
|
||||
temp = Image.open(path)
|
||||
#remove alpha channel
|
||||
if temp.mode=='RGBA':
|
||||
temp = im.convert('RGB')
|
||||
temp = temp.convert('RGB')
|
||||
print ("no alpha")
|
||||
print temp.mode
|
||||
keep = temp.copy()
|
||||
keep = np.array(keep)
|
||||
x.append(keep)
|
||||
|
Loading…
Reference in New Issue
Block a user