Skip to content
Discussion options

You must be logged in to vote

@monkeycc, can you confirm whether you checked out the v1, from which you install anomalib?

If you install it properly you should have the following imports:

Folder

from anomalib.data import Folder
# or
from anomalib.data.image.folder import FolderDataset

TaskType

from anomalib.utils.types import TaskType

NOTE: TaskType has been moved to anomalib.utils.types`. The main reason is that it is also used by some other components within anomalib, so we had to place it to a more generic location

FolderDataset

from anomalib.data.image.folder import FolderDataset

Let me know if you still have any questions. Good luck!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by monkeycc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1565 on January 02, 2024 10:41.