lhackel-tub / ConfigILM

A Library for configurable combination of pre-configured and possibly pre-trained Image and Language Models
https://lhackel-tub.github.io/ConfigILM/
MIT License
32 stars 4 forks source link

Create an abstract class that all datamodules inherit from #79

Closed lhackel-tub closed 4 months ago

lhackel-tub commented 8 months ago

The datamodules contain a lot of redundant code. To make this more flexible and less duplicate, an abstract class (based on Lightning datamodule) should be implemented that all datamodules inherit from. Also Tests should use this class to test all basic functionality and only the individual additional functionality should be in the individual test classes

lhackel-tub commented 4 months ago

The base class was introduced in this commit and all related changes fixed in the commits of this pull request