-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚚 Move perlin noise to common folder #424
Conversation
# Copyright (C) 2022 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from .perlin import rand_perlin_2d_np |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe for another PR, but would be nice to rename the function as well.
@@ -21,7 +21,7 @@ | |||
from torch import Tensor | |||
from torchvision.datasets.folder import IMG_EXTENSIONS | |||
|
|||
from anomalib.models.draem.utils.perlin import rand_perlin_2d_np | |||
from anomalib.utils.generators import rand_perlin_2d_np |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we also have anomalib.data.utils
directory? Would it be an idea to move this there ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. That's a good idea.
Changes
Checklist