Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
3c6b54f4
Commit
3c6b54f4
authored
Feb 23, 2018
by
Andrew M. Dai
Browse files
Fix extra -- when not using the bazel command line.
PiperOrigin-RevId: 186781401
parent
900ea814
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
research/adversarial_text/README.md
research/adversarial_text/README.md
+5
-5
No files found.
research/adversarial_text/README.md
View file @
3c6b54f4
...
@@ -22,7 +22,7 @@ The directory `/tmp/aclImdb` contains the raw IMDB data.
...
@@ -22,7 +22,7 @@ The directory `/tmp/aclImdb` contains the raw IMDB data.
```
```
$ IMDB_DATA_DIR=/tmp/imdb
$ IMDB_DATA_DIR=/tmp/imdb
$ python gen_vocab.py
--
\
$ python gen_vocab.py \
--output_dir=$IMDB_DATA_DIR \
--output_dir=$IMDB_DATA_DIR \
--dataset=imdb \
--dataset=imdb \
--imdb_input_dir=/tmp/aclImdb \
--imdb_input_dir=/tmp/aclImdb \
...
@@ -34,7 +34,7 @@ Vocabulary and frequency files will be generated in `$IMDB_DATA_DIR`.
...
@@ -34,7 +34,7 @@ Vocabulary and frequency files will be generated in `$IMDB_DATA_DIR`.
### Generate training, validation, and test data
### Generate training, validation, and test data
```
```
$ python gen_data.py
--
\
$ python gen_data.py \
--output_dir=$IMDB_DATA_DIR \
--output_dir=$IMDB_DATA_DIR \
--dataset=imdb \
--dataset=imdb \
--imdb_input_dir=/tmp/aclImdb \
--imdb_input_dir=/tmp/aclImdb \
...
@@ -48,7 +48,7 @@ $ python gen_data.py -- \
...
@@ -48,7 +48,7 @@ $ python gen_data.py -- \
```
```
$ PRETRAIN_DIR=/tmp/models/imdb_pretrain
$ PRETRAIN_DIR=/tmp/models/imdb_pretrain
$ python pretrain.py
--
\
$ python pretrain.py \
--train_dir=$PRETRAIN_DIR \
--train_dir=$PRETRAIN_DIR \
--data_dir=$IMDB_DATA_DIR \
--data_dir=$IMDB_DATA_DIR \
--vocab_size=86934 \
--vocab_size=86934 \
...
@@ -76,7 +76,7 @@ training and classification.
...
@@ -76,7 +76,7 @@ training and classification.
```
```
$ TRAIN_DIR=/tmp/models/imdb_classify
$ TRAIN_DIR=/tmp/models/imdb_classify
$ python train_classifier.py
--
\
$ python train_classifier.py \
--train_dir=$TRAIN_DIR \
--train_dir=$TRAIN_DIR \
--pretrained_model_dir=$PRETRAIN_DIR \
--pretrained_model_dir=$PRETRAIN_DIR \
--data_dir=$IMDB_DATA_DIR \
--data_dir=$IMDB_DATA_DIR \
...
@@ -101,7 +101,7 @@ $ python train_classifier.py -- \
...
@@ -101,7 +101,7 @@ $ python train_classifier.py -- \
```
```
$ EVAL_DIR=/tmp/models/imdb_eval
$ EVAL_DIR=/tmp/models/imdb_eval
$ python evaluate.py
--
\
$ python evaluate.py \
--eval_dir=$EVAL_DIR \
--eval_dir=$EVAL_DIR \
--checkpoint_dir=$TRAIN_DIR \
--checkpoint_dir=$TRAIN_DIR \
--eval_data=test \
--eval_data=test \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment