Skip to content

Updating params files with Movie and Image layers

Austin Thresher edited this page Aug 31, 2016 · 1 revision

If your params file uses Movie, Image, MoviePvp, ImagePvp, or FilenameParsingGroundTruthLayer it will need to be updated to continue to work with PetaVision. The necessary changes are as follows:

  • Movie and Image layers should now use the group name ImageLayer
  • MoviePvp and ImagePvp layers should now use the group name PvpLayer
  • Layers that used to be Image or ImagePvp should set the displayPeriod param to 0
  • The param useImageBCflag should be replaced with useInputBCflag
  • Batch methods byImage and byMovie should be replaced with byFile and byList respectively
  • Layers that used to be ImagePvp layers should change pvpFrameIdx to an array called start_frame_index. Each entry corresponds to one batch index.
  • The params writeImages, jitterFlag, and echoFramePathnameFlag should be removed, as they are no longer used.
  • FilenameParsingGroundTruthLayer now expects a param titled inputLayerName instead of movieLayerName.