Coder Social home page Coder Social logo

出现报错RuntimeError: mat1 and mat2 shapes cannot be multiplied (57x215296 and 256x100),不知道是什么问题,向您请教。 about vit_wgangp HOT 1 OPEN

langer-zheng avatar langer-zheng commented on August 22, 2024
出现报错RuntimeError: mat1 and mat2 shapes cannot be multiplied (57x215296 and 256x100),不知道是什么问题,向您请教。

from vit_wgangp.

Comments (1)

Eric-is-good avatar Eric-is-good commented on August 22, 2024

可能的问题
1.如果你直接下载本代码,那么默认vae是可以用的,图片大小必须为 64 * 64
2.你的报错显示 57x215296 ,215296 = 464 * 464,所以我猜测你使用的不是 64 * 64 的图片,你可能用的 464 * 464 的图片
3.请使用 utils.py 的 read_path 来转换图片大小

from vit_wgangp.

Related Issues (3)

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.