I am new to deep learning as well as pytorch. I have got the following code (siamese network) working with pytorch:

  
      github.com
  
  
    KrisG04/Siamese-using-PyTorch/blob/master/Siamese-networks-medium.ipynb 48
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# One Shot Learning with Siamese Networks\n",
    "\n",
    "This is the jupyter notebook that accompanies"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Imports\n",
    "All the imports are defined here"
   ]
  },
  {


  This file has been truncated. show original

  
  
    
    
  
  


Now I would like to replace the CNN with a pretrained network (trained on places dataset):

  
      
      GitHub
  
  
    

CSAILVision/places365 11

places365 - The Places365-CNNs for Scene Classification


  
  
    
    
  
  


How do I do this using pytorch