Closed bHimes closed 5 years ago
What version of pytorch do you have installed? Topaz requires version 0.2.0 of pytorch because newer versions are not backwards compatible. I suspect that is causing this problem.
I had everything but pillow installed, and so had missed the " = " sign relative to the " >= " in the list of dependencies when I scanned over them. Downgrading the installation took care of the problem. Thanks you!
I'm working through the "complete walkthrough" and ran into a snag when I got to the training step.
My input
Output:
Error Message
ValueError: sampler should be an instance of torch.utils.data.Sampler, but got sampler=<topaz.utils.data.sampler.StratifiedCoordinateSampler object at 0x7f6b74093cf8>
(last line pulled from error msg for emphasis)