mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 13:32:09 -07:00
check if pkl exist to apply modifications
This commit is contained in:
parent
a14bb4ae86
commit
230d7df17e
1 changed files with 6 additions and 6 deletions
|
@ -51,9 +51,9 @@ dictionary = {
|
|||
with open('/home/deepfake/interact_dict.pkl', 'wb') as handle:
|
||||
pickle.dump(dictionary, handle, protocol=4)
|
||||
|
||||
#with open('/home/deepfake/interact_dict.pkl', 'rb') as handle:
|
||||
# d = pickle.load(handle)
|
||||
#s = "Target iteration"
|
||||
#res = dict(filter(lambda item: s in item[0], d.items()))
|
||||
#
|
||||
#print(list(res.values())[0])
|
||||
with open('/home/deepfake/interact_dict.pkl', 'rb') as handle:
|
||||
d = pickle.load(handle)
|
||||
s = "Use interactive merger"
|
||||
res = dict(filter(lambda item: s in item[0], d.items()))
|
||||
|
||||
print(list(res.values())[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue