Skip to content

Commit

Permalink
fix test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
flow3rdown committed Mar 11, 2023
1 parent ae3e985 commit d069599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MarT/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _setup_parser():
parser.add_argument("--visual_model_path", type=str, default=None)
parser.add_argument("--pretrain_path", type=str, default=None)
parser.add_argument("--alpha", type=float, default=0.4, help="the weight of similarity loss")
parser.add_argument("--only_test", type=float, default=0.4, help="if true, only do test")
parser.add_argument("--only_test", action="store_true", default=False)

# Get the data and model classes, so that we can add their specific arguments
temp_args, _ = parser.parse_known_args()
Expand Down

0 comments on commit d069599

Please sign in to comment.