forked from google-research/pix2seq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14c5c06
commit e46ed13
Showing
9 changed files
with
56 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export PYTHONPATH=$PYTHONPATH:~/Github/pix2seq | ||
train=false | ||
train=true | ||
if $train; then | ||
split=train | ||
else | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
config=../configs/config_scene_graph.py | ||
model_dir=/data/hulab/zcai75/checkpoints/pix2seq/scene_graph | ||
export TF_CPP_MIN_LOG_LEVEL=1 | ||
# export NCCL_DEBUG=INFO | ||
export CUDA_VISIBLE_DEVICES=1 | ||
# export AUTOGRAPH_VERBOSITY=0 | ||
|
||
python ../run.py \ | ||
--mode=train \ | ||
--model_dir=$model_dir \ | ||
--config=$config \ | ||
--config.train.batch_size=32 \ | ||
--config.train.epochs=20 \ | ||
--config.train.batch_size=12 \ | ||
--config.train.epochs=2 \ | ||
--config.optimization.learning_rate=3e-5 \ | ||
--run_eagerly > train.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters