added photos for thesis

This commit is contained in:
leno3003 2022-04-01 15:42:21 +02:00
parent 5f6438c9e5
commit 0d8c41ebb5
2 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,5 @@
import pickle
import json
import os
dictionary = {
@ -51,8 +52,8 @@ dictionary = {
}
cmd = 'mkdir DeepFaceLab_Linux/workspace/interact'
os.system(cmd)
with open('DeepFaceLab_Linux/workspace/interact/interact_dict.pkl', 'wb') as handle:
pickle.dump(dictionary, handle, protocol=4)
with open('DeepFaceLab_Linux/workspace/interact/interact_dict.json', 'w') as handle:
pickle.dump(dictionary, handle)
#with open('DeepFaceLab_Linux/workspace/interact/interact_dict.pkl', 'rb') as handle:
# d = pickle.load(handle)