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
1299edce
Commit
1299edce
authored
8 years ago
by
tgupta6
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab-beta.engr.illinois.edu:Vision/GenVQA
parents
aa27e765
d016894c
No related branches found
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
+11
-4
11 additions, 4 deletions
constants_vision_gpu_2.py
with
11 additions
and
4 deletions
constants_vision_gpu_2.py
+
11
−
4
View file @
1299edce
...
...
@@ -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
'
experiment_name
=
'
QA_explicit_dot_pretrained
_same_lr
'
#experiment_name = 'object_attribute_classifier_large_images'
# Global output directory (all subexperiments will be saved here)
global_output_dir
=
'
/home/nfs/tgupta6/projects/GenVQA/Exp_Results/VQA
'
...
...
@@ -89,7 +89,7 @@ pretrained_vocab_word_vectors_npy = os.path.join(
# Object Attribute Classifier Training Params
region_batch_size
=
200
region_num_samples
=
num_train_regions
region_num_epochs
=
10
region_num_epochs
=
4
region_offset
=
0
region_queue_size
=
400
region_regularization_coeff
=
1e-4
...
...
@@ -160,10 +160,11 @@ num_test_questions = 0
answer_batch_size
=
50
answer_num_epochs
=
10
answer_offset
=
0
answer_obj_atr_loss_wt
=
0.0
answer_regularization_coeff
=
1e-5
answer_queue_size
=
500
answer_embedding_dim
=
600
answer_lr
=
1e-
4
answer_lr
=
1e-
3
answer_log_every_n_iter
=
500
answer_output_dir
=
os
.
path
.
join
(
global_experiment_dir
,
...
...
@@ -198,4 +199,10 @@ answer_eval_results_json = os.path.join(
answer_output_dir
,
'
eval_
'
+
answer_eval_on
+
'
_results.json
'
)
# Select best model
models_dir
=
answer_output_dir
start_model
=
1000
step_size
=
2000
model_accuracies_txt
=
os
.
path
.
join
(
answer_output_dir
,
'
model_accuracies.txt
'
)
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