Permalink
Browse files

bug fix

  • Loading branch information...
youyuge34 committed Jan 10, 2019
1 parent 2e23214 commit f89452a522149e96e3218a55a7c6bfccb8781674
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −1 main.py
  3. +1 −1 venv.bat
@@ -86,6 +86,7 @@ celerybeat-schedule
.venv
venv/
ENV/
venv.bat

# Spyder project settings
.spyderproject
@@ -107,7 +107,8 @@ def load_config(mode=None):
# train mode
if mode == 1:
config.MODE = 1
config.MODEL = args.model if args.model is not None else 1
if args.model:
config.MODEL = args.model

if config.SKIP_PHASE2 is None:
config.SKIP_PHASE2 = 0
@@ -1,5 +1,5 @@
@echo off
set P=%cd%
cd E:\python_projects\lenv\torch1\Scripts
cd F:\PythonProjects\venv\torch1\Scripts
call activate.bat
cd %P%

0 comments on commit f89452a

Please sign in to comment.