Classes | Namespaces | Macros | Functions
support_eddl.h File Reference
#include "ecvl/augmentations.h"
#include "ecvl/core/filesystem.h"
#include "ecvl/core/image.h"
#include "ecvl/dataset_parser.h"
#include <eddl/apis/eddl.h>
#include <algorithm>
#include <condition_variable>
#include <mutex>
#include <queue>
#include <thread>
#include <tuple>

Go to the source code of this file.

Classes

class  ecvl::DatasetAugmentations
 Dataset Augmentations. More...
 
class  ecvl::ProducersConsumerQueue
 Class that manages the producers-consumer queue of samples. The queue stores pairs of image and label, pushing and popping them in an exclusive way. The queue also has a maximum size (max_size_ attribute) to avoid memory overflows. More...
 
class  ecvl::ThreadCounters
 Class representing the thread counters. More...
 
class  ecvl::DLDataset
 DeepHealth Deep Learning Dataset. More...
 

Namespaces

 ecvl
 

Macros

#define ECVL_ERROR_AUG_DOES_NOT_EXIST   throw std::runtime_error(ECVL_ERROR_MSG "Augmentation for this split does not exist");
 
#define ECVL_ERROR_WORKERS_LESS_THAN_ONE   throw std::runtime_error(ECVL_ERROR_MSG "Dataset workers must be at least one");
 

Functions

void ecvl::ImageToTensor (const Image &img, Tensor *&t)
 Convert an ECVL Image into an EDDL Tensor. More...
 
void ecvl::ImageToTensor (const Image &img, Tensor *&t, const int &offset)
 Insert an ECVL Image into an EDDL Tensor. More...
 
void ecvl::TensorToImage (const Tensor *t, Image &img)
 Convert an EDDL Tensor into an ECVL Image. More...
 
void ecvl::TensorToView (const Tensor *t, View< DataType::float32 > &v)
 Convert an EDDL Tensor into an ECVL View. More...
 
Image ecvl::MakeGrid (Tensor *&t, int cols=8, bool normalize=false)
 Make a grid of images from a EDDL Tensor. More...
 

Macro Definition Documentation

◆ ECVL_ERROR_AUG_DOES_NOT_EXIST

#define ECVL_ERROR_AUG_DOES_NOT_EXIST   throw std::runtime_error(ECVL_ERROR_MSG "Augmentation for this split does not exist");

Definition at line 33 of file support_eddl.h.

◆ ECVL_ERROR_WORKERS_LESS_THAN_ONE

#define ECVL_ERROR_WORKERS_LESS_THAN_ONE   throw std::runtime_error(ECVL_ERROR_MSG "Dataset workers must be at least one");

Definition at line 34 of file support_eddl.h.