(self, frameA, frameB, amplification_factor)
return out_amp
Run Magnification on two frames.

        Args:
            frameA: path to first frame
            frameB: path to second frame
            amplification_factor: float for amplification factor
Run Magnification on two frames.
Run Magnification on two frames .
def inference(self, frameA, frameB, amplification_factor):
        """Run Magnification on two frames.

        Args:
            frameA: path to first frame
            frameB: path to second frame
            amplification_factor: float for amplification factor
        """
        in_frames = [load_train_data([frameA, frameB, frameB],
                     gray_scale=self.n_channels==1, is_testing=True)]
        in_frames = np.array(in_frames).astype(np.float32)

        out_amp = self.sess.run(self.test_output,
                                feed_dict={self.test_input: in_frames,
                                           self.test_amplification_factor:
                                           [amplification_factor]})
        return out_amp
def inference ( self , frameA , frameB , amplification_factor ) : in_frames = [ load_train_data ( [ frameA , frameB , frameB ] , gray_scale = self . n_channels == 1 , is_testing = True ) ] in_frames = np . array ( in_frames ) . astype ( np . float32 ) out_amp = self . sess . run ( self . test_output , feed_dict = { self . test_input : in_frames , self . test_amplification_factor : [ amplification_factor ] } ) return out_amp