MXNet engine Shape inconsistent #1549
Unanswered
AngshumanChakraborty
asked this question in
Q&A
Replies: 1 comment
-
I think your problem might be with the pre-processing. We definitely know from the error message that when calling the loaded resnet model ( ImageFolder dataset =
ImageFolder.builder()
.setRepository(repository)
.addTransform(new Resize(100, 100))
.addTransform(new ToTensor())
.setSampling(1, false)
.build(); DJL needs the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to perform transfer learning to classify two objects. For training I am doing the following:
For inference I have done the following:
But I get the following error in the inference part when loading the model:
Beta Was this translation helpful? Give feedback.
All reactions