Skip to content

Commit

Permalink
Bump anomalib version to 1.0.1 (#3223)
Browse files Browse the repository at this point in the history
  • Loading branch information
harimkang authored Mar 28, 2024
1 parent 06c9df5 commit b55d82c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,7 @@ mmlab = [
"oss2==2.17.0",
]
anomaly = [
# [FIXME] @ashwinvaidya17: Install using a temporary hot-fix commit due to a torchmetrics version conflict.
"anomalib @ git+https://github.com/openvinotoolkit/anomalib.git@e78091883a620229c277a79674a904d9f785f8d5",
# This is a dependency to avoid conflicts with installing the anomalib[core] option.
"av>=10.0.0",
"einops>=0.3.2",
"freia>=0.2",
"imgaug==0.4.0",
"kornia>=0.6.6,<0.6.10",
"matplotlib>=3.4.3",
"opencv-python>=4.5.3.56",
"pandas>=1.1.0",
"open-clip-torch>=2.23.0",
"anomalib[core]==1.0.1",
]

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion src/otx/algo/visual_prompting/backbones/tiny_vit.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import torch
import torch.nn.functional as F # noqa: N812
from timm.layers import DropPath, to_2tuple, trunc_normal_
from timm.models.layers import DropPath, to_2tuple, trunc_normal_
from torch import Tensor, nn

from otx.algo.visual_prompting.utils.layer_norm_2d import LayerNorm2d
Expand Down

0 comments on commit b55d82c

Please sign in to comment.