Giter Site home page Giter Site logo

opteroncx / moephoto Goto Github PK

View Code? Open in Web Editor NEW
187.0 10.0 22.0 627.52 MB

MoePhoto Image Toolbox萌图工具箱

License: Apache License 2.0

Python 55.42% HTML 5.64% Jupyter Notebook 5.36% CSS 16.94% JavaScript 16.60% Batchfile 0.05%
waifu2x moephoto-image-toolbox moephoto superresolution

moephoto's People

Contributors

dependabot[bot] avatar lotress avatar opteroncx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moephoto's Issues

Moire pattern removal

Hi

看到您在ICCV2019关于去摩尔纹的文章,请问会开源吗?

谢谢

无法运行

Windows 10 18363.476

Active code page: 65001
Active code page: 65001
E:\Tools\萌图工具箱4.6.3\lib\torch\cuda\__init__.py:117: UserWarning:
    Found GPU0 GeForce GTX 660 which is of cuda capability 3.0.
    PyTorch no longer supports this GPU because it is too old.

Current working directory: E:\Tools\萌图工具箱4.6.3
Server starts to listen on http://127.0.0.1:2333/, press Ctrl+C to exit.
127.0.0.1 - - [2019-11-22 20:17:38] "GET /msg?session=&path=%2Fimage_enhance&_=1574421458707 HTTP/1.1" 403 138 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET / HTTP/1.1" 200 8602 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/fonts/037d830416495def72b7881024c14b7b.woff2 HTTP/1.1" 200 15745 0.296872
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/images/img1.jpg HTTP/1.1" 304 206 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/js/30fe1313c8b4a05021c1.js HTTP/1.1" 304 210 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/js/602aff685874b0468060.js HTTP/1.1" 304 211 0.015625
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/js/main.js HTTP/1.1" 304 211 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/images/a1.png HTTP/1.1" 200 77351 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/images/img2.jpg HTTP/1.1" 304 206 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/css/styles.fbb53c7f2bc5fa4ad0dc.css HTTP/1.1" 200 231212 0.000000
127.0.0.1 - - [2019-11-22 20:17:42] "GET /static/js/278271f557a037509530.js HTTP/1.1" 304 210 0.000000
127.0.0.1 - - [2019-11-22 20:17:43] "GET /msg?session=1574421462.608274&path=%2Fimage_enhance&_=1574421462992 HTTP/1.1" 200 115 0.000000
127.0.0.1 - - [2019-11-22 20:17:43] "GET /static/bg/76d472a01dea4878e2039c37e983a3a0.png HTTP/1.1" 304 213 0.000000
127.0.0.1 - - [2019-11-22 20:17:43] "GET /msg?session=1574421462.608274&_=1574421462993 HTTP/1.1" 200 115 0.015625
127.0.0.1 - - [2019-11-22 20:17:43] "GET /favicon.ico HTTP/1.1" 404 109 0.015625
127.0.0.1 - - [2019-11-22 20:18:07] "GET /preset?path=image HTTP/1.1" 200 117 0.000000
127.0.0.1 - - [2019-11-22 20:18:15] "POST /preset?path=image HTTP/1.1" 200 118 0.000000
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&path=%2Fimage_enhance&_=1574421462994 HTTP/1.1" 200 115 0.000000
2019-11-22 11:18:33.346|Moe|loading model ./model/dn_lite5/model_new.pth
2019-11-22 11:18:33.361|Moe|reloading weights
E:\Tools\萌图工具箱4.6.3\lib\torch\cuda\__init__.py:117: UserWarning:
    Found GPU0 GeForce GTX 660 which is of cuda capability 3.0.
    PyTorch no longer supports this GPU because it is too old.

127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&path=%2Fimage_enhance&_=1574421462996 HTTP/1.1" 200 152 0.203111
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&_=1574421462995 HTTP/1.1" 200 159 0.234361
THCudaCheck FAIL file=c:\a\w\1\s\windows\pytorch\aten\src\thcunn\generic/SpatialReflecti127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&_=1574421462997 HTTP/1.1" 200 153 0.000000
onPadding.cu line=74 error=48 : no kernel image is available for execution on the device
2019-11-22 11:18:33.658|Moe|ERROR   |worker:56|['imageEnhance', 949852, {'model': 'lite5', 'op': 'DN'}]
Traceback (most recent call last):
  File "./python/worker.py", line 53, in g
  File "./python/MoePhoto.py", line 40, in imageEnhance
  File "./python/progress.py", line 164, in g
  File "./python/imageProcess.py", line 404, in <lambda>
  File "./python/imageProcess.py", line 380, in <lambda>
  File "./python/imageProcess.py", line 253, in <lambda>
  File "./python/imageProcess.py", line 249, in <lambda>
  File "./python/progress.py", line 164, in g
  File "./python/imageProcess.py", line 301, in <lambda>
  File "./python/runDN.py", line 18, in <lambda>
  File "./python/imageProcess.py", line 261, in <lambda>
  File "./python/imageProcess.py", line 36, in doCrop
  File "C:\Users\opteroncx.000\Py36\lib\site-packages\torch\nn\modules\module.py", line 489, in __call__
  File "C:\Users\opteroncx.000\Py36\lib\site-packages\torch\nn\modules\padding.py", line 172, in forward
  File "C:\Users\opteroncx.000\Py36\lib\site-packages\torch\nn\functional.py", line 2685, in pad
RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at c:\a\w\1\s\windows\pytorch\aten\src\thcunn\generic/SpatialReflectionPadding.cu:74
127.0.0.1 - - [2019-11-22 20:18:33] "POST /image_enhance?session=1574421462.608274 HTTP/1.1" 200 115 0.374985
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&_=1574421462998 HTTP/1.1" 200 115 0.000000
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&_=1574421462999 HTTP/1.1" 200 115 0.000000
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&_=1574421463000 HTTP/1.1" 200 115 0.000000
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&path=%2Fimage_enhance&_=1574421463001 HTTP/1.1" 400 1402 0.000000
127.0.0.1 - - [2019-11-22 20:18:33] "GET /msg?session=1574421462.608274&_=1574421463002 HTTP/1.1" 200 115 0.000000
127.0.0.1 - - [2019-11-22 20:18:38] "GET /msg?session=1574421462.608274&path=%2Fimage_enhance&_=1574421463003 HTTP/1.1" 200 115 0.000000
127.0.0.1 - - [2019-11-22 20:18:39] "GET /msg?session=1574421462.608274&_=1574421463004 HTTP/1.1" 200 115 0.000000

图像输出格式

好像到版本4.7都是以png输出的,当前版本输出的是jpeg。找不到相关设定。

实用工具显示“出错了”

image
如上图所示。我第一次使用时候还是OK的,现在不知道为什么死活不行了。
换了很多图片,我又看不懂具体问题在哪里。求指点。

发现了BUG,希望修复

image
我使用的时候有一个出错了,经过我本人反复测试
发现这3个模型,一旦勾选任意一个就会出错。

如何确认自己使用了GPU

如题,任务管理器声称 MoePhoto.exe 只利用了单核CPU,没有利用GPU. 另外有办法强制开启GPU吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.