nnunet/utilities/visdomvisualiser.py
def display_image(self, image_key, image, caption=''):
        '''
        Display given image in the plot
        '''
        # if the image is already in the plot, remove it to replace it for the new one
        if image_key in self.figures:
            self.viz.close(win=self.figures[image_key], env=self.env)
            del self.figures[image_key]
        # plot the image
        self.figures[image_key] = self.viz.images(image, env=self.env, opts=dict(title=caption))

        Display given image in the plot
        
Display given image in the plot
Display given image in the plot
def display_image(self, image_key, image, caption=''):
        if image_key in self.figures:
            self.viz.close(win=self.figures[image_key], env=self.env)
            del self.figures[image_key]
        self.figures[image_key] = self.viz.images(image, env=self.env, opts=dict(title=caption))
def display_image ( self , image_key , image , caption = '' ) : if image_key in self . figures : self . viz . close ( win = self . figures [ image_key ] , env = self . env ) del self . figures [ image_key ] self . figures [ image_key ] = self . viz . images ( image , env = self . env , opts = dict ( title = caption ) )
Display given image in the plot
Display given image in the plot
'''
        Display given image in the plot
        ''' # if the image is already in the plot, remove it to replace it for the new one # plot the image
self
image_key
image
caption