Spaces:
Runtime error
Runtime error
Commit
·
86b65e9
1
Parent(s):
3d1440f
Remove ports from Tensorboard
Browse files- apps/article.py +2 -2
- apps/streamlit_tensorboard.py +2 -1
apps/article.py
CHANGED
@@ -29,7 +29,7 @@ def app(state=None):
|
|
29 |
st.write(read_markdown("pretraining/model.md"))
|
30 |
toc.subsubheader("MLM Training Logs")
|
31 |
st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-ckpts/tensorboard")
|
32 |
-
st_tensorboard(logdir='./logs/pretrain_logs'
|
33 |
|
34 |
|
35 |
toc.subheader("Finetuning")
|
@@ -39,7 +39,7 @@ def app(state=None):
|
|
39 |
st.write(read_markdown("finetuning/model.md"))
|
40 |
toc.subsubheader("VQA Training Logs")
|
41 |
st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-60k-ft/tensorboard")
|
42 |
-
st_tensorboard(logdir='./logs/finetune_logs'
|
43 |
|
44 |
toc.header("Challenges and Technical Difficulties")
|
45 |
st.write(read_markdown("challenges.md"))
|
|
|
29 |
st.write(read_markdown("pretraining/model.md"))
|
30 |
toc.subsubheader("MLM Training Logs")
|
31 |
st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-ckpts/tensorboard")
|
32 |
+
st_tensorboard(logdir='./logs/pretrain_logs')
|
33 |
|
34 |
|
35 |
toc.subheader("Finetuning")
|
|
|
39 |
st.write(read_markdown("finetuning/model.md"))
|
40 |
toc.subsubheader("VQA Training Logs")
|
41 |
st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-60k-ft/tensorboard")
|
42 |
+
st_tensorboard(logdir='./logs/finetune_logs')
|
43 |
|
44 |
toc.header("Challenges and Technical Difficulties")
|
45 |
st.write(read_markdown("challenges.md"))
|
apps/streamlit_tensorboard.py
CHANGED
@@ -52,7 +52,8 @@ def st_tensorboard(logdir="/logs/", port=6006, width=None, height=800, scrolling
|
|
52 |
</script>
|
53 |
"""
|
54 |
|
55 |
-
args_string = f"--logdir {logdir} --port {port}"
|
|
|
56 |
parsed_args = shlex.split(args_string, comments=True, posix=True)
|
57 |
start_result = manager.start(parsed_args)
|
58 |
|
|
|
52 |
</script>
|
53 |
"""
|
54 |
|
55 |
+
#args_string = f"--logdir {logdir} --port {port}"
|
56 |
+
args_string = f"--logdir {logdir}"
|
57 |
parsed_args = shlex.split(args_string, comments=True, posix=True)
|
58 |
start_result = manager.start(parsed_args)
|
59 |
|