OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

ModuleNotFoundError: No module named 'anomalib.engine'

  • Thread starter Thread starter swastik agarwal
  • Start date Start date
S

swastik agarwal

Guest
Code:
# Import the required modules

from anomalib.data import MVTec
from anomalib.models import Patchcore
from anomalib.engine import Engine

error:

Code:
ModuleNotFoundError: No module named 'anomalib.engine'

I'm trying to run this.... have followed the library installation and seen the https://anomalib.readthedocs.io/en/latest/markdown/get_started/anomalib.html I think its either becuase the engine has been modified or it has been dropped by the library...

How to resolve this?
<pre><code># Import the required modules

from anomalib.data import MVTec
from anomalib.models import Patchcore
from anomalib.engine import Engine
</code></pre>
<p>error:</p>
<pre><code>ModuleNotFoundError: No module named 'anomalib.engine'
</code></pre>
<p>I'm trying to run this.... have followed the library installation and seen the
<a href="https://anomalib.readthedocs.io/en/latest/markdown/get_started/anomalib.html" rel="nofollow noreferrer">https://anomalib.readthedocs.io/en/latest/markdown/get_started/anomalib.html</a>
I think its either becuase the engine has been modified or it has been dropped by the library...</p>
<p>How to resolve this?</p>
 
Top