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

Flowvision FAQs #150

Open
rentainhe opened this issue Feb 16, 2022 · 1 comment
Open

Flowvision FAQs #150

rentainhe opened this issue Feb 16, 2022 · 1 comment

Comments

@rentainhe
Copy link
Contributor

rentainhe commented Feb 16, 2022

Flowvision FQAs

  • 记录整理Flowvision开发和使用过程中的问题以及解决方案

Contents

@Aries-chen
Copy link
Contributor

Aries-chen commented Feb 16, 2022

Weight Convert Details

在推进 senet 模型过程中,以 senet154 为例,当前已经将 torch 的权重文件转为 oneflow 的权重文件:

  1. 权重文件丢失。现在需要将 oneflow 的权重文件压缩为 .zip 格式,可以使用 zip 命令行压缩,但是很可能会丢失个别 tensor_x 里面的 out 文件,如果下载到本地机器(我的 win 系统笔记本), 我发现一个 out 文件被系统当成病毒删了。

解决方法:
在系统的“病毒和威胁防护”中,点击 管理设置 ->添加或删除排除项 -> 添加排除项,将权重文件夹所在目录添加进去,避免系统删除文件。
imageimage
image

  1. Bandizip 压缩软件压缩权重文件夹有误(可能是该软件版本问题)。按理说权重文件夹 senet154 压缩后应该是 senet154 / tensor_x,而 Bandizip 直接没了 senet154 这一层。

解决方法:推荐使用 7-Zip 软件。金山云文件夹下不来推荐使用 scp 命令。

后面发现 在服务器上直接 zip 命令压缩就好了 把文件下载到win系统病毒扫描的排除项就OK。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants