Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] 离线下在哪个层级运行watch命令 #771

Closed
Arcmoon-Hu opened this issue Jan 8, 2025 · 6 comments
Closed

[QUESTION] 离线下在哪个层级运行watch命令 #771

Arcmoon-Hu opened this issue Jan 8, 2025 · 6 comments
Labels
🙋 help wanted Extra attention is needed

Comments

@Arcmoon-Hu
Copy link

🤔 Question description [Please make everyone to understand it]

找到了保存的log,但不知道在哪个层级运行watch命令,试了几个,都是未找到
image

image

🧑‍💻 Expected result

🚑 Any additional [like screenshots]

  • SwanLab Version:

  • Platform:

@Arcmoon-Hu Arcmoon-Hu added the 🙋 help wanted Extra attention is needed label Jan 8, 2025
@Zeyi-Lin
Copy link
Member

Zeyi-Lin commented Jan 8, 2025

技巧是,找到run开头的文件夹,比如run-20250108_040026-a3b1799d,的上一个层级,然后watch这一个。

比如截图中的这个,可以用:

swanlab watch logs/swanlab

@Arcmoon-Hu
Copy link
Author

技巧是,找到run开头的文件夹,比如run-20250108_040026-a3b1799d,的上一个层级,然后watch这一个。

比如截图中的这个,可以用:

swanlab watch logs/swanlab

感谢回复,但是试了,也还是打不开

@Arcmoon-Hu
Copy link
Author

补充一下信息,运行后,显示看起来是正常的,而且在run-xxx目录下log文件里也记录的有日志,但就是“没有可用的看板”,哪个好心人能帮忙看看怎么解决

Image

@SAKURA-CAT
Copy link
Contributor

SAKURA-CAT commented Feb 17, 2025

补充一下信息,运行后,显示看起来是正常的,而且在run-xxx目录下log文件里也记录的有日志,但就是“没有可用的看板”,哪个好心人能帮忙看看怎么解决

Image

我这真没啥问题😭 您看看方便跑个demo然后把这个swanlab文件夹发给我嘛,我调试一下

@Arcmoon-Hu
Copy link
Author

补充一下信息,运行后,显示看起来是正常的,而且在run-xxx目录下log文件里也记录的有日志,但就是“没有可用的看板”,哪个好心人能帮忙看看怎么解决
Image

我这真没啥问题😭 您看看方便跑个demo然后把这个swanlab文件夹发给我嘛,我调试一下

找到原因了
1、我是在容器内运行的代码,然后在主机上启动的watch命令,就不行,但是在容器内启动,就可以显示了
2、容器内是root,所以log是由root生成的,主机上没有用root,跟权限有关?

@SAKURA-CAT
Copy link
Contributor

跟权限有关

噢噢,可能是的,有些读写权限会有冲突

不过核心还是我们没把这块错误提示做好 😂 因为我们现在精力基本在云端版上

那我把这个issue关闭啦,等私有化版上线后 #788 欢迎使用私有化部署版噢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants