提交 1ddea447 编写于 作者: W WuHaobo

add sys path

上级 2ee646eb
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#See the License for the specific language governing permissions and #See the License for the specific language governing permissions and
#limitations under the License. #limitations under the License.
from __future__ import absolute_import from __future__ import absolute_import
from __future__ import division from __future__ import division
from __future__ import print_function from __future__ import print_function
...@@ -19,6 +20,7 @@ from __future__ import print_function ...@@ -19,6 +20,7 @@ from __future__ import print_function
import argparse import argparse
import os import os
import sys import sys
sys.path.append(os.getcwd())
import paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
...@@ -41,7 +43,7 @@ def parse_args(): ...@@ -41,7 +43,7 @@ def parse_args():
'-c', '-c',
'--config', '--config',
type=str, type=str,
default='configs/ResNet/ResNet18_vd.yaml', default='configs/ResNet/ResNet50.yaml',
help='config file path') help='config file path')
parser.add_argument( parser.add_argument(
'-o', '-o',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册