Skip to content
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

Notebooks do not work when loading the necessary libraries #84

Open
sevenbonk opened this issue Jun 26, 2023 · 0 comments
Open

Notebooks do not work when loading the necessary libraries #84

sevenbonk opened this issue Jun 26, 2023 · 0 comments

Comments

@sevenbonk
Copy link

Every time I try to run any of th notebooks on Google colab, they do not work when loading the necessary libraries. Why is that? For example, in Augmenting a dataset for detection using COCO format which is the one I'm most interested about, I get:

/usr/local/lib/python3.10/dist-packages/clodsa/init.py in
1 from future import absolute_import
----> 2 from . import augment
3 import sys, getopt
4
5 def main(argv):

/usr/local/lib/python3.10/dist-packages/clodsa/augment.py in
1 from future import absolute_import
----> 2 from .augmentors.augmentorFactory import createAugmentor
3 from .transformers.transformerFactory import transformerGenerator
4 from .techniques.techniqueFactory import createTechnique
5 import argparse

/usr/local/lib/python3.10/dist-packages/clodsa/augmentors/init.py in
----> 1 from .augmentorFactory import *

/usr/local/lib/python3.10/dist-packages/clodsa/augmentors/augmentorFactory.py in
1 from future import absolute_import
----> 2 from .augmentorsList import Augmentors
3
4 def createAugmentor(problem,annotationmode,outputmode,generationmode,inputPath,parameters):
5 Augmentor = Augmentors[problem][annotationmode][outputmode][generationmode]

/usr/local/lib/python3.10/dist-packages/clodsa/augmentors/augmentorsList.py in
1 from future import absolute_import
2 from .folderKerasLinearClassificationAugmentor import FolderKerasLinearClassificationAugmentor
----> 3 from .folderKerasSemanticSegmentationAugmentor import FolderKerasSemanticSegmentationAugmentor
4 from .folderLinearClassificationAugmentor import FolderLinearClassificationAugmentor
5 from .folderLinearSemanticSegmentationAugmentor import FolderLinearSemanticSegmentationAugmentor

/usr/local/lib/python3.10/dist-packages/clodsa/augmentors/folderKerasSemanticSegmentationAugmentor.py in
8 import os
9 import cv2
---> 10 from sklearn.externals.joblib import Parallel, delayed
11 import random
12 import numpy as np

ModuleNotFoundError: No module named 'sklearn.externals.joblib'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant