V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Lychee0  ›  全部回复第 2 页 / 共 2 页
回复总数  34
1  2  
丢 GitHub Action 拿 Pyinstaller 打包下就好,看 OP 描述应该不会有什么大坑。给个示例:

```
name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'LICENSE'

pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
- 'LICENSE'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
CI:
strategy:
matrix:
python-version: [ "3.10" ]
os-version: [ "macos-latest", "windows-latest", "ubuntu-20.04" ]

runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Build
run: |
pip install -r requirements.txt
pip install pyinstaller
python -m PyInstaller -F -n PKGName -i __main__.py

- name: upload
uses: actions/upload-artifact@v3
with:
name: PKGName-${{ matrix.os-version }}
path: dist
```
2023-07-08 13:04:01 +08:00
回复了 xiaochuaner 创建的主题 Python 2023 年,使用 Python 封装 C 语言库的最佳选择是什么?
pybind11 加一票
2023-07-02 20:48:45 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@zjhzxhz
是我表述错了 hhh
2023-07-02 20:36:46 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@zjhzxhz
… Face Restoration 才是 Super Restoration 的子集。。用了人脸相关的数据集做的
“真人”这里不是指人脸,是指广义的真实世界 hhh
2023-07-02 13:24:35 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@zjhzxhz
这是 Face-Restoration 呀,也没人部署到 ncnn 这样的跨平台推理框架
再说真人的 sota 现在应该是 stableSR 吧,Realesrgan 是 21 年的工作了。这里推荐的模型是咱目前可以调用的。
2023-07-02 00:46:24 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@lujiaxing
试一下直接用未打包的的 core 呢🤔️
pip install Final2x-core
完了命令行检查下有没有正确安装,gui 会优先用 pip 的
2023-07-01 22:57:34 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
2023-07-01 22:20:24 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@lujiaxing 嘶,好怪 没遇见过。这个可以稳定复现吗
@cyrbuzz 抽风了,过一会就正常了(
2023-07-01 22:05:21 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@feelinglucky
readme 昨天才写,摸两天再说(
2023-07-01 22:02:45 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@chutsetien
这种情况感觉 Realesrgan 好一点,但还是建议把所有模型挨个试一下
想要更高的 scale 就填自定义 scale
2023-07-01 21:50:30 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@zjhzxhz
建议动漫用 Real-CUGAN 真人用 Real-ESRGAN
提供的几个模型可以都试试看
2023-07-01 21:15:20 +08:00
回复了 Lychee0 创建的主题 程序员 开源项目: Final2x - 将图像超分辨率到任意尺寸
@zjhzxhz
用 pybind11 绑了这几个超分 https://github.com/Tohrusky/Final2x-core
可以用 Real-ESRGAN 官方的几个模型,项目本质还是 GUI 啦
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   956 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 20:19 · PVG 04:19 · LAX 13:19 · JFK 16:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.