tinker-engine / sailon-protocols

0 stars 0 forks source link

Instantiate detector from config #23

Open nrsyed opened 3 years ago

nrsyed commented 3 years ago

The OND protocol in ond.py is currently hardcoded to instantiate GaeNdRdAdapter (and can be modified to instantiate RandomNoveltyDetectorAdapter instead). The detector type should instead be obtained from the config and SMQTK should be used to instantiate the correct detector/adapter.