Skip to content

Commit

Permalink
path clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
MMathisLab committed Mar 14, 2021
1 parent bad6fd3 commit d8febd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vame/model/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ def evaluate_model(config, model_name):
config_file = Path(config).resolve()
cfg = read_config(config_file)

if not os.path.exists(cfg['project_path']+"/model/evaluate"):
os.mkdir(cfg['project_path']+"model/evaluate")
if not os.path.exists(os.path.join(cfg['project_path'],"model","evaluate")):
os.mkdir(os.path.join(cfg['project_path'],"model","evaluate"))

use_gpu = torch.cuda.is_available()
if use_gpu:
Expand Down

0 comments on commit d8febd8

Please sign in to comment.