How to avoid Runtime Error #2072
Unanswered
microchila
asked this question in
Q&A
Replies: 1 comment
-
I believe to solve this you need to write the code inside ...imports..
def main():
datamodule = MVTec()
model = Patchcore()
engine = Engine()
engine.fit(datamodule=datamodule, model=model)
if __name__ == "__main__":
main() |
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.
-
What is the motivation for this task?
A runtime error occurs when running the following code:
Describe the solution you'd like
Normal training
Additional context
Contents of the error message:
Beta Was this translation helpful? Give feedback.
All reactions