脚本名称为./create_roidb.sh,脚本一共20行,在运行此脚本时,会出现已杀死的情况,因为为shell脚本不太了解,所以想要问一下,非常感谢!
#!/bin/bash
OUT_PATH="."
N_OBJ=150 # number of object categories
N_REL=50 # number of relationship categories
H5=VG-SGG.h5
JSON=VG-SGG-dicts.json
FRAC=1
IMDB=imdb_1024.h5
python vg_to_roidb.py \
--imdb imdb_1024.h5 \
--json_file ./VG-SGG-dicts.json \
--h5_file ./VG-SGG.h5 \
--load_frac 1 \
--num_objects 150 \
--num_predicates 50 \