Skip to content

Training Error #645

Answered by samet-akcay
ANTZ314 asked this question in Q&A
Oct 19, 2022 · 7 comments · 5 replies
Discussion options

You must be logged in to vote

@ANTZ314, @JACKYNIKK, the problem is that the jupyter notebook installs anomalib via pip, which installs v0.3.6 now. You clone the repo via !git clone https://github.com/openvinotoolkit/anomalib.git, which clones the latest commit, and causes conflict with the pypi version.

Solution
For now, if you clone and install anomalib as the following, the problem would temporarily be resolved.

Option - 1
Train the model via

!python tools/train.py --model padim

Option - 2
Install the library locally

!git clone https://github.com/openvinotoolkit/anomalib.git
%cd anomalib
!pip install -e .

We'll soon update the pypi version with v0.3.7, which would remedy this issue completely.

Replies: 7 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ANTZ314
Comment options

@ANTZ314
Comment options

@ANTZ314
Comment options

@samet-akcay
Comment options

@ANTZ314
Comment options

Answer selected by ashwinvaidya17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #642 on October 21, 2022 10:22.