added sumbmodules

This commit is contained in:
leno3003 2022-03-30 15:31:06 +02:00
parent daa493932f
commit f0db9cf254

View file

@ -1,4 +1,5 @@
import pickle import pickle
import os
dictionary = { dictionary = {
'4' : '\n', '4' : '\n',
@ -43,6 +44,8 @@ dictionary = {
'Degrade color power of final image' : '0', 'Degrade color power of final image' : '0',
'Color transfer to predicted face' : 'rct', 'Color transfer to predicted face' : 'rct',
} }
cmd = 'mkdir ../../../workspace/interact'
os.system(cmd)
with open('../../../workspace/interact/interact_dict.pkl', 'wb') as handle: with open('../../../workspace/interact/interact_dict.pkl', 'wb') as handle:
pickle.dump(dictionary, handle, protocol=4) pickle.dump(dictionary, handle, protocol=4)