소스 검색

Add back the line that adds to PYTHONPATH

Neal Wu 8 년 전
부모
커밋
809d7e4876
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      domain_adaptation/README.md

+ 6 - 1
domain_adaptation/README.md

@@ -36,6 +36,12 @@ Then you need to build the binaries with Bazel:
 $ bazel build -c opt domain_adaptation/domain_separation/...
 ```
 
+Add models and models/slim to your `$PYTHONPATH`:
+
+```
+$ export PYTHONPATH=$PYTHONPATH:$PWD:$PWD/slim
+```
+
 You can then train with the following command:
 
 ```
@@ -54,7 +60,6 @@ $ ./bazel-bin/domain_adaptation/domain_separation/dsn_train  \
       -v --use_logging
 ```
 
-
 Evaluation can be invoked with the following command:
 
 ```