Unanswered
Hi
Hi @<1695969549783928832:profile|ObedientTurkey46>
How can I connect clearml to a relational database, and have sql query as a dataset? (e.g. dataset.add_references(query = “select * from images where label = ‘1’)).
hmm interesting, you have a couple of options that I can think of:
- You can have your query and an argument to the Task, which means it is logged and can be changed later from the UI when you are relaunching it.
- You can have the query an an argument for a preprocessing Task that creates a dataset, then pass the dataset ID (i.e. and all data) as argument for any Tasks that needs to use that data
- And you can create a pipeline where the query is part of the pipeline and the data is passed between the components (wither as a dataset or as pandas object). wdyt?
73 Views
0
Answers
6 months ago
6 months ago