segmentation icon indicating copy to clipboard operation
segmentation copied to clipboard

unexpected keyword argument: as_gray when using Tiff based images

Open Servando1990 opened this issue 4 years ago • 0 comments

I'm trying to replicate this pipeline with Tiff based images, concretely the Inria dataset, and various Spanecenet challenge datasets

Dataset path: manually set my path -> DATADIR=DATADIR=/path/to/your_dataset

Binary segmentation pipeline arguments as README: CUDA_VISIBLE_DEVICES=0
CUDNN_BENCHMARK="True"
CUDNN_DETERMINISTIC="True"
WORKDIR=./logs
DATADIR='/mnt/d/Servando/NEW2-AerialImageDataset/AerialImageDataset/train/framework_tests'
IMAGE_SIZE=256
CONFIG_TEMPLATE=./configs/templates/binary.yml
NUM_WORKERS=4
BATCH_SIZE=256
bash ./bin/catalyst-binary-segmentation-pipeline.sh

ERROR: image

Did a little debugging and found that within /site-packages/catalyst/contrib/utils/cv/image.py tiff support is currently not available

image

Servando1990 avatar Aug 25 '20 09:08 Servando1990