python2 tools/train_net.py \
--config_file configs/charades_r50_lfb_nl.yaml \
TRAIN.PARAMS_FILE [path to model weight from Stage 1] \
LFB.MODEL_PARAMS_FILE [path to model weight for LFB inference] \
LFB.WRITE_LFB True \
CHECKPOINT.DIR /tmp/lfb-nl-stage2-output
After Stage 1, I got some files under CHECKPOINT.DIR (/tmp/lfb-nl-stage1-output)
In here, which path can be proper for TRAIN.PARAMS_FILE [path to model weight from Stage 1] and LFB.MODEL_PARAMS_FILE [path to model weight for LFB inference] at Stage 2?
I thought c2_model_iter24000.pkl can be assigned as TRAIN.PARAMS_FILE, but there was an error (KeyError: u'nonlocal_conv3_1_bn_rm' at remove_spatial_bn_layers(c2cls_weights)) and not sure about LFB.MODEL_PARAMS_FILE.
Could you please give me some specific example filenames for both *PARAMS_FILEs?
Hi, I really appreciate your commitment for this remarkable work.
I have a little difficulty to set up LFB path at training.
According to GETTING_STARTED.md, there are two steps for training the model over Charades dataset.
Stage 1:
Stage 2:
After Stage 1, I got some files under CHECKPOINT.DIR (/tmp/lfb-nl-stage1-output)
In here, which path can be proper for
TRAIN.PARAMS_FILE [path to model weight from Stage 1]
andLFB.MODEL_PARAMS_FILE [path to model weight for LFB inference]
at Stage 2? I thoughtc2_model_iter24000.pkl
can be assigned asTRAIN.PARAMS_FILE
, but there was an error (KeyError: u'nonlocal_conv3_1_bn_rm'
atremove_spatial_bn_layers(c2cls_weights)
) and not sure aboutLFB.MODEL_PARAMS_FILE
. Could you please give me some specific example filenames for both*PARAMS_FILE
s?Thanks, Junhyun Lee