Skip to content

Commit

Permalink
Using tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromerony committed Sep 4, 2020
1 parent b72c693 commit 9b5bcd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion experiment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import math
import os
import tempfile
from copy import deepcopy
from functools import partial
from pprint import pprint
Expand Down Expand Up @@ -37,7 +38,7 @@ def config():
visdom_freq = 20
cpu = False # Force training on CPU
cudnn_flag = 'benchmark'
temp_dir = os.path.join('results', 'temp')
temp_dir = tempfile.gettempdir()

no_bias_decay = True
label_smoothing = 0.1
Expand Down

0 comments on commit 9b5bcd5

Please sign in to comment.