import os | |
cmd = 'python visualize.py --model="lavt" --swin_type="base" --dataset="refcoco" --split="val" --resume="model_best_refcoco.pth" --workers="4" --ddp_trained_weights --window12 --img_size="224" --vis_dir="elia_refcoco"' | |
print(cmd, flush=True) | |
os.system(cmd) | |