Giter Site home page Giter Site logo

没有结果生成 about stytr-2 HOT 5 OPEN

muximuxi avatar muximuxi commented on July 29, 2024
没有结果生成

from stytr-2.

Comments (5)

meareabc avatar meareabc commented on July 29, 2024 1

1.请更新最新版本的代码
2.下载预训练的embedding等模型
3.将 with torch.no_grad():
output= network(content,style)
output = output.cpu()
更改为
with torch.no_grad():
output= network(content,style)
output = output[0].cpu()

from stytr-2.

ZzzTD avatar ZzzTD commented on July 29, 2024

请问这个问题您解决了吗

from stytr-2.

happypuppy128 avatar happypuppy128 commented on July 29, 2024

1.请更新最新版本的代码 2.下载预训练的embedding等模型 3.将 with torch.no_grad(): output= network(content,style) output = output.cpu() 更改为 with torch.no_grad(): output= network(content,style) output = output[0].cpu()

我按你的说法操作了,但是依旧没有任何图片生成,
也没用错误(pds) PS D:\StyTR-2-main> python test.py --content_dir input/content/12.jpg --style_dir input/style/12.jpg --output out
(pds) PS D:\StyTR-2-main>

from stytr-2.

happypuppy128 avatar happypuppy128 commented on July 29, 2024

1.请更新最新版本的代码 2.下载预训练的嵌入等模型 3.将 with torch.no_grad(): output= network(content,style) output = output.cpu() 更改为 with torch.no_grad(): output= network(content,style) output = output[0].cpu()

屏幕截图 2023-12-23 235720 wen文件都在,但是依旧没有任何图片生成

from stytr-2.

Mofr77 avatar Mofr77 commented on July 29, 2024

1.请更新最新版本的代码 2.下载预训练的embedding等模型 3.将 with torch.no_grad(): output= network(content,style) output = output.cpu() 更改为 with torch.no_grad(): output= network(content,style) output = output[0].cpu()

thanks!!you are hero here.

from stytr-2.

Related Issues (20)

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.