snehankekre / streamlit-tensorboard

Streamlit component for TensorBoard, TensorFlow's visualization toolkit
https://pypi.org/project/streamlit-tensorboard/
MIT License
40 stars 7 forks source link

Support several comma-separated paths in logdir #11

Open davidjimenezphd opened 2 years ago

davidjimenezphd commented 2 years ago

Hi @snehankekre Many thanks for the contribution. Just wondering whether it would be possible to support passing to the logdir argument of st_tensorboard a list of comma-separated paths to render several specific experiments, e.g. in the original tensorboard call you can specify it as follows:

tensorboard --logdir=name1:/path/to/logs/1,name2:/path/to/logs/2

Regards

snehankekre commented 2 years ago

Thanks for the context @davidjimenezphd! I absolutely think it's possible to support it and I welcome contributions :smile: This component uses Tensorboard's logic for operating in notebook contexts. I will have to find time (currently unable to commit to a timeline) to revisit their internals to see how it's done. In the interim, feel free to submit a PR if you have a solution!