Last active
November 1, 2020 00:09
-
-
Save SamratSahoo/8ed3663d22fc966eec1129829ccacdc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def testImage(self, indexSample): | |
sample, _ = self.data[indexSample] | |
sample = sample.view(sample.size(0), -1) | |
sample = Variable(sample) | |
return self(sample) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment