BiomedSciAI / fuse-med-ml

A python framework accelerating ML based discovery in the medical field by encouraging code reuse. Batteries included :)
Apache License 2.0
137 stars 34 forks source link

Debug Operations in data package #142

Open mosheraboh opened 2 years ago

mosheraboh commented 2 years ago

Is your feature request related to a problem? Please describe. When building a data pipeline - we might need to debug and visualize the intermediate sample.

Describe the solution you'd like Implement a collection of simple debug ops (operations). When debugging a pipeline, that operation can be added to the pipeline and used. List of operations to implement: Core Fuse: OpPrintSampleDictKeys() - base print the sample keys with the type of the value and shape if it is numpy array or tensor OpPrintSampleDict().call(keys)

fuseimg: OpSave2DImage().call(key, pre_process) OpSave3DImage().call(key, pre_process) OpShow2DImage().call(key, pre_process) OpShow3DImage().call(key, pre_process) OpSaveMulti2DImages() OpShowMulti2DImages() . . .

Describe alternatives you've considered N/A

Additional context N/A