add sys path

pull/42/head
WuHaobo 2020-04-17 21:03:06 +08:00
parent 2ee646eba2
commit 1ddea447ec
1 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@
#See the License for the specific language governing permissions and
#limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
@ -19,6 +20,7 @@ from __future__ import print_function
import argparse
import os
import sys
sys.path.append(os.getcwd())
import paddle
import paddle.fluid as fluid
@ -41,7 +43,7 @@ def parse_args():
'-c',
'--config',
type=str,
default='configs/ResNet/ResNet18_vd.yaml',
default='configs/ResNet/ResNet50.yaml',
help='config file path')
parser.add_argument(
'-o',