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
37 stars 5 forks source link

Create an abstract class that all datamodules inherit from #79

Closed lhackel-tub closed 8 months ago

lhackel-tub commented 1 year 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 8 months ago

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