I am trying to run a deep learning model written in pytorch. since I am trying in my laptop I only able to run  about 20 frames. Can anyone please tell how can I input 20 frames of a video dataset instead of the whole of it?
I also have 2 .pth files in the model. Do these need to be modified? Here is the code

  
      
      GitHub
  
  
    

foolwood/SiamMask

[CVPR2019] Fast Online Object Tracking and Segmentation: A Unifying Approach - foolwood/SiamMask