-
Notifications
You must be signed in to change notification settings - Fork 709
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
anomalib installation #2535
Comments
You don't have persistent storage in Colab. So you must install anomalibs dependencies each time you restart a session. |
ok thanks and for the position of custom dataset ? i see the anomalib have a folder called datasets where to put the custom and beanchmark datasets but if each time anomalib must be reinstallled what happen ? |
You can mount your google drive in colab https://stackoverflow.com/questions/48376580/how-to-read-data-in-google-colab-from-my-google-drive |
this is not mandatory, just the default directory. You could customise it from the data classes such as |
Sorry but i might think that i don't understand; so if i say when i write .. root = "\content\drive\My Drive\Datasets\CustomDataset" is correct to give the correct location of my data when i use folder ? |
When you use a folder datamodule, you initialize it like this:
You will have your good images in |
thanks and if i put the good folder in a new folder called train (so the path is /custom_dataset/train/good in normal_dir i put "train/good" it is correct? |
correct |
Hi,
i want to install anomalib on colab,
if i install by pip install anomalib[full] it is installed in the path ../python3.10/dist-packages/ but when every time i restart the session i must reinstall the library, it is correct?
Is there something i can do to install permantely the library, such as an istallation in a drive directory that i mount on my colab, and not have path and dependecies problem ?
Thanks
The text was updated successfully, but these errors were encountered: