Please click the follow link

  
      github.com
  
  
    bodokaiser/piwise/blob/master/piwise/network.py 22
import torch
import torch.nn as nn
import torch.nn.init as init
import torch.nn.functional as F

from torch.utils import model_zoo
from torchvision import models

class FCN8(nn.Module):

    def __init__(self, num_classes):
        super().__init__()

        feats = list(models.vgg16(pretrained=True).features.children())

        self.feats = nn.Sequential(*feats[0:9])
        self.feat3 = nn.Sequential(*feats[10:16])
        self.feat4 = nn.Sequential(*feats[17:23])
        self.feat5 = nn.Sequential(*feats[24:30])



  This file has been truncated. show original

  
  
    
    
  
  


This code for semantic segmentation. I can apply the code for VOC2012.
But I use it for the other dataset .for example,ISBI. The code , in another words, the neural net output a  whole black image.why?