magic
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
14 lines
473 B
14 lines
473 B
#!/bin/bash
|
|
|
|
# lm_model:
|
|
# 1. cambridgeltl/magic_mscoco
|
|
# 2. cambridgeltl/magic_flickr30k
|
|
CUDA_VISIBLE_DEVICES=1 python run.py \
|
|
--beam_size 1 \
|
|
--target_seq_length 16 \
|
|
--reset_context_delta \
|
|
--lm_model cambridgeltl/magic_flickr30k \
|
|
--test_image_prefix_path ../data/flickr30k/test_images \
|
|
--test_path ../data/flickr30k/flickr30k_test.json \
|
|
--save_path_prefix ../inference_result/flickr30k/baselines/ \
|
|
--save_name zerocap_result.json
|