Skip to content

Generation Mode error #48

@MiguelAngeloMartinsRibeiro

Description

@joheras Hi, first of all thank you for your time

I'm getting an error on the collar notebook. When I change the generation mode from linear to sequential it gives me an error

PROBLEM = "instance_segmentation"
ANNOTATION_MODE = "coco"
INPUT_PATH = "Images_for_thesisCOCO"
GENERATION_MODE = "sequential"
OUTPUT_MODE = "coco"
OUTPUT_PATH= "output/"
!mkdir output

augmentor = createAugmentor(PROBLEM,ANNOTATION_MODE,OUTPUT_MODE,GENERATION_MODE,INPUT_PATH,{"outputPath":OUTPUT_PATH})


KeyError Traceback (most recent call last)
in ()
----> 1 augmentor = createAugmentor(PROBLEM,ANNOTATION_MODE,OUTPUT_MODE,GENERATION_MODE,INPUT_PATH,{"outputPath":OUTPUT_PATH})

/usr/local/lib/python3.7/dist-packages/clodsa/augmentors/augmentorFactory.py in createAugmentor(problem, annotationmode, outputmode, generationmode, inputPath, parameters)
3
4 def createAugmentor(problem,annotationmode,outputmode,generationmode,inputPath,parameters):
----> 5 Augmentor = Augmentors[problem][annotationmode][outputmode][generationmode]
6 if Augmentor is None:
7 raise ValueError("These parameters are not currently supported")

KeyError: 'sequential'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions