Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GenVQA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vision
GenVQA
Commits
d97f23e7
Commit
d97f23e7
authored
8 years ago
by
tgupta6
Browse files
Options
Downloads
Patches
Plain Diff
updated constants_vision_gpu_2
parent
d3b9aaf6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
constants_vision_gpu_2.py
+9
-8
9 additions, 8 deletions
constants_vision_gpu_2.py
with
9 additions
and
8 deletions
constants_vision_gpu_2.py
+
9
−
8
View file @
d97f23e7
...
...
@@ -5,7 +5,7 @@ def mkdir_if_not_exists(dir_name):
if
not
os
.
path
.
exists
(
dir_name
):
os
.
mkdir
(
dir_name
)
experiment_name
=
'
QA_explicit_dot_pretrained_
same_lr
'
experiment_name
=
'
QA_explicit_dot_
joint_training_
pretrained_
multi_rate
'
#experiment_name = 'object_attribute_classifier_large_images'
# Global output directory (all subexperiments will be saved here)
global_output_dir
=
'
/data/tanmay/GenVQA_Exp_Results
'
...
...
@@ -152,21 +152,22 @@ vqa_answer_vocab_json = os.path.join(
'
answer_vocab.json
'
)
# VQA dataset params
num_train_questions
=
248349
num_val_subset_questions
=
10000
num_val_questions
=
121512
num_val_rest_questions
=
num_val_questions
-
num_val_subset_questions
num_test_questions
=
0
#
num_train_questions = 248349
#
num_val_subset_questions = 10000
#
num_val_questions = 121512
#
num_val_rest_questions = num_val_questions - num_val_subset_questions
#
num_test_questions = 0
# Answer classifier training params
answer_batch_size
=
50
answer_num_epochs
=
10
answer_offset
=
0
answer_obj_atr_loss_wt
=
0.
0
answer_obj_atr_loss_wt
=
0.
1
answer_regularization_coeff
=
1e-5
answer_queue_size
=
500
answer_embedding_dim
=
600
answer_lr
=
1e-4
obj_atr_lr
=
1e-4
answer_lr
=
1e-3
answer_log_every_n_iter
=
500
answer_output_dir
=
os
.
path
.
join
(
global_experiment_dir
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment