added sumbmodules

This commit is contained in:
leno3003 2022-03-30 15:29:32 +02:00
parent c40d7ee52f
commit daa493932f

View file

@ -43,10 +43,10 @@ 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',
} }
with open('/home/deepfake/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)
with open('/home/deepfake/interact_dict.pkl', 'rb') as handle: ##with open('/home/deepfake/interact_dict.pkl', 'rb') as handle:
d = pickle.load(handle) # d = pickle.load(handle)
#
print(d['Color transfer to predicted face']) #print(d['Color transfer to predicted face'])