DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

Error in main.py : wrong environment variable being read for batch size

Open BeatHarness opened this issue 8 years ago • 1 comments

    if 'DFL_BATCH_SIZE' in os.environ.keys():
        arguments.batch_size = int ( os.environ['**DFL_TARGET_EPOCH**'] )

should be

    if 'DFL_BATCH_SIZE' in os.environ.keys():
        arguments.batch_size = int ( os.environ['**DFL_BATCH_SIZE**'] )

BeatHarness avatar Nov 21 '18 12:11 BeatHarness

fxd

iperov avatar Nov 21 '18 12:11 iperov