frames evaluation removed

This commit is contained in:
leno3003 2022-04-01 17:39:31 +02:00
parent 8f0244a32b
commit 560dbdf394

View file

@ -1,15 +1,14 @@
import json import json
import os import os
# Sample dictionary with default answers
#Sample dictionary of default answers
dictionary = { dictionary = {
'4' : '\n', 'Extractor_continue_deleting_files' : '\n',
'5' : '0', 'choose_model_name' : '0',
'2' : '1', 'choose_mode' : '1',
'3' : '4', 'choose_mask_mode' : '4',
'1' : '0', 'enhance_details_sharpen_filters' : '0',
'Output image format':'png', 'Output image format':'png',
'NoInteractiveMode':'y', 'NonInteractiveMode':'y',
'Which GPU indexes to choose?': '0', 'Which GPU indexes to choose?': '0',
'Face type': 'wf', 'Face type': 'wf',
'Max number of faces from image' : '1', 'Max number of faces from image' : '1',
@ -50,7 +49,6 @@ dictionary = {
'Color transfer to predicted face' : 'rct', 'Color transfer to predicted face' : 'rct',
'Press enter in 2 seconds to override model settings.' : 'y', 'Press enter in 2 seconds to override model settings.' : 'y',
} }
cmd = 'mkdir DeepFaceLab_Linux/workspace/interact' os.mkdirs('DeepFaceLab_Linux/workspace/interact', exist_ok = True)
os.system(cmd)
with open('DeepFaceLab_Linux/workspace/interact/interact_dict.json', 'w') as handle: with open('DeepFaceLab_Linux/workspace/interact/interact_dict.json', 'w') as handle:
json.dump(dictionary, handle) json.dump(dictionary, handle)