From 33a4aa32823e5ecb3e62975c92877f514158beb6 Mon Sep 17 00:00:00 2001 From: KAAANG <79990647+SAKURA-CAT@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:09:48 +0800 Subject: [PATCH 1/3] update link --- pyproject.toml | 7 ++----- vue/src/layouts/main/components/HeaderBar.vue | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 203e562..a886bfe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,9 +41,8 @@ classifiers = [# 项目分类 [project.urls] # 项目链接 "Homepage" = "https://swanhub.co" -"Source" = "https://github.com/SwanHubX/SwanLab" -"Bug Reports" = "https://github.com/SwanHubX/SwanLab/issues" -"Documentation" = "https://geektechstudio.feishu.cn/wiki/space/7310593325374013444?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home" +"Source" = "https://github.com/SwanHubX/SwanLab-Dashboard" +"Bug Reports" = "https://github.com/SwanHubX/SwanLab-Dashboard/issues" [tool.hatch.version] # 动态设置项目版本 path = "swanboard/package.json" # package.json文件,从中获取版本号 @@ -69,8 +68,6 @@ include = [ "/test", # 包含一些测试脚本,确保测试成功 "/README.md", # 包含readme "/requirements.txt", # 包含依赖 - "/requirements-swan.txt", # 包含可选依赖 - "/.config/copy_frontend.py", # 包含拷贝前端文件的脚本 "/package.json", # 包含前端的package.json文件 ] diff --git a/vue/src/layouts/main/components/HeaderBar.vue b/vue/src/layouts/main/components/HeaderBar.vue index d063ec9..d56ca74 100644 --- a/vue/src/layouts/main/components/HeaderBar.vue +++ b/vue/src/layouts/main/components/HeaderBar.vue @@ -62,11 +62,11 @@ defineProps({ const links = ref([ { title: 'Docs', - link: 'https://geektechstudio.feishu.cn/wiki/space/7310593325374013444?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home' + link: 'https://docs.swanlab.cn/zh/guide_cloud/general/what-is-swanlab.html' }, { title: 'Examples', - link: 'https://github.com/SwanHubX/SwanLab-examples' + link: 'https://docs.swanlab.cn/zh/examples/mnist.html' }, { title: 'Feedback', From 8b3d5524e831db449f3fd5d01afec375ed7a4309 Mon Sep 17 00:00:00 2001 From: KAAANG <79990647+SAKURA-CAT@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:11:59 +0800 Subject: [PATCH 2/3] update version --- swanboard/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swanboard/package.json b/swanboard/package.json index 0e94f50..9965390 100644 --- a/swanboard/package.json +++ b/swanboard/package.json @@ -1,6 +1,6 @@ { "name": "swanboard", - "version": "0.1.2b2", + "version": "0.1.2b3", "description": "Dashboard for Swanlab", "python": "true" } From 2e3742c16b568340982ec063ecb9d9bbe90f4c0e Mon Sep 17 00:00:00 2001 From: Zirui Cai <74649535+Feudalman@users.noreply.github.com> Date: Fri, 14 Jun 2024 18:20:48 +0800 Subject: [PATCH 3/3] Feature/some updates (#17) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修改 logo * 实验环境增加 PID 和 Python Verbose --- test/start_server.py | 7 +++---- vue/index.html | 3 +++ vue/src/assets/logo.ico | Bin 4286 -> 4286 bytes vue/src/assets/logo.png | Bin 0 -> 10655 bytes vue/src/assets/swanlab.svg | 13 ++++++++++++- vue/src/i18n/en-US/experiment.json5 | 4 +++- vue/src/i18n/zh-CN/experiment.json5 | 4 +++- .../pages/environment/pages/EnvIndex.vue | 8 ++++++++ 8 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 vue/src/assets/logo.png diff --git a/test/start_server.py b/test/start_server.py index 4bc6c5f..c058ce5 100644 --- a/test/start_server.py +++ b/test/start_server.py @@ -12,12 +12,11 @@ from tutils.config import SWANLAB_LOG_DIR from swanboard.db import connect import os -from swanboard import run +from swanboard import SwanBoardRun os.environ["SWANLAB_LOG_DIR"] = SWANLAB_LOG_DIR - -connect() +connect(SWANLAB_LOG_DIR) if __name__ == "__main__": - run("debug") + SwanBoardRun.run(path=SWANLAB_LOG_DIR, host="0.0.0.0", port=6092) diff --git a/vue/index.html b/vue/index.html index 82c77dc..d74b115 100644 --- a/vue/index.html +++ b/vue/index.html @@ -3,6 +3,9 @@
+ + +Yc~m2}5;)r4iid?n;>;JQW#rvJjVsV#NvRQg#vbev_R-L$sOZQB;#DHvnVj
zQ%G_cI?bx+qFqs~inY?9apk(7CebuG15Gr {2-Za-RbkV$%w^6EGxUfjm?#w0PJC^$sVDIw06eJQu=2NhxHrb+JY-U%C0}
zwdNts%3plmuV5CUr7xG2$IKp2TYua2*%UJwcQ6&sA0h (hE!p|rs^YTAg|APgBHA^P$d
z)Vr2^DeG;N-$_sljv?Pr9m!mAxVdJl
z?3Ij+=72HC1O}`rr4u?T7k%?(t-)ky<9}N}#mY4-G6W8CgSN>yj?-AAC{RMGg71o9
zL!gbfX)^K
C&`eL
zok&FsgmkCRLN?xIOfU(#6sEu!LjV(EU5?)UNdbHC5)e^bA>)F{V4ac{;!Eq@62tOD
z>)ZhW)Xf&6bN7+(7g}~$uTL^#>6dUKw0c`$rNq<;ju@T8&WJ3^Fv?KJ`o_4DyfW#t
zNb+D;&SqeqX_d)}HiUtv#BIiAxXc74N53%mDP(SykgzT*S`cn4NaVp`D``<$jFm0p
z1LsCl^qXT^nLhyhgML-S-bjl$VGK*twBD4izgMYzrNPqHMXIe?s)<^{c;RBWw)9z}
z8ho4;tSjRJ+?5kc@=2#RM31y+8R@HeJ27xtU=6#oMOz3V8y5qt^+^D&tzCiFS%u(0
z$_cs=2Vv^dfEU&1a@drGw=2|e=oER%5|e9KX{f;IDNZ1ZxzWaeO_|e&aWRkQsvjnr
z^>44oY(%+rAi#JSz0X^UCL?K}s2C+BcQhHn10_TcKm0NB