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
7d40b2ac
Unverified
Commit
7d40b2ac
authored
Sep 01, 2020
by
moneypi
Committed by
GitHub
Aug 31, 2020
Browse files
fix ValueError for adversarial_text (#9163)
parent
09050ac3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
research/adversarial_text/README.md
research/adversarial_text/README.md
+3
-3
No files found.
research/adversarial_text/README.md
View file @
7d40b2ac
...
@@ -54,7 +54,7 @@ $ PRETRAIN_DIR=/tmp/models/imdb_pretrain
...
@@ -54,7 +54,7 @@ $ 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
=
8
6934
\
--vocab_size
=
8
7007
\
--embedding_dims
=
256
\
--embedding_dims
=
256
\
--rnn_cell_size
=
1024
\
--rnn_cell_size
=
1024
\
--num_candidate_samples
=
1024
\
--num_candidate_samples
=
1024
\
...
@@ -83,7 +83,7 @@ $ python train_classifier.py \
...
@@ -83,7 +83,7 @@ $ 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
\
--vocab_size
=
8
6934
\
--vocab_size
=
8
7007
\
--embedding_dims
=
256
\
--embedding_dims
=
256
\
--rnn_cell_size
=
1024
\
--rnn_cell_size
=
1024
\
--cl_num_layers
=
1
\
--cl_num_layers
=
1
\
...
@@ -111,7 +111,7 @@ $ python evaluate.py \
...
@@ -111,7 +111,7 @@ $ python evaluate.py \
--run_once
\
--run_once
\
--num_examples
=
25000
\
--num_examples
=
25000
\
--data_dir
=
$IMDB_DATA_DIR
\
--data_dir
=
$IMDB_DATA_DIR
\
--vocab_size
=
8
6934
\
--vocab_size
=
8
7007
\
--embedding_dims
=
256
\
--embedding_dims
=
256
\
--rnn_cell_size
=
1024
\
--rnn_cell_size
=
1024
\
--batch_size
=
256
\
--batch_size
=
256
\
...
...
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