can you please share complete working script to convert resnet101 pretrained on rgb to optical flow ready using the gist you shared. As an example!