Skip to content
Snippets Groups Projects
Commit c8a4e586 authored by tgupta6's avatar tgupta6
Browse files

constants_crunchy that works with new obj loss/fine_tune with decayed lr

parent 0ce3ba5e
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ def mkdir_if_not_exists(dir_name): ...@@ -5,7 +5,7 @@ def mkdir_if_not_exists(dir_name):
if not os.path.exists(dir_name): if not os.path.exists(dir_name):
os.mkdir(dir_name) os.mkdir(dir_name)
experiment_name = 'obj_atr_through_none' experiment_name = 'obj_atr_through_none_trial'
########################################################################## ##########################################################################
# Machine Specific Paths # # Machine Specific Paths #
...@@ -156,7 +156,7 @@ region_eval_on = 'test' # One of {'test','train_held_out','train_subset'} ...@@ -156,7 +156,7 @@ region_eval_on = 'test' # One of {'test','train_held_out','train_subset'}
region_model_to_eval = region_model + '-' + '7000' region_model_to_eval = region_model + '-' + '7000'
# Path to results # Path to results
visualize_object_predictions = False visualize_object_predictions = True
# Path to results # Path to results
region_pred_vis_dirname = os.path.join( region_pred_vis_dirname = os.path.join(
...@@ -253,7 +253,7 @@ answer_mil_loss_wt = 0.0 ...@@ -253,7 +253,7 @@ answer_mil_loss_wt = 0.0
num_regions_with_labels = 100 num_regions_with_labels = 100
# Answer fine tune params # Answer fine tune params
answer_fine_tune_from_iter = 29500 answer_fine_tune_from_iter = 500
answer_fine_tune_from = answer_model + '-' + str(answer_fine_tune_from_iter) answer_fine_tune_from = answer_model + '-' + str(answer_fine_tune_from_iter)
########################################################################## ##########################################################################
...@@ -270,7 +270,7 @@ model_accuracies_txt = os.path.join( ...@@ -270,7 +270,7 @@ model_accuracies_txt = os.path.join(
# Answer eval params # Answer eval params
answer_eval_on = 'val' answer_eval_on = 'val'
answer_model_to_eval = answer_model + '-7000' answer_model_to_eval = answer_model + '-1000'
vqa_results_dir = os.path.join( vqa_results_dir = os.path.join(
answer_output_dir, answer_output_dir,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment