Code Monkey home page Code Monkey logo

Comments (9)

superxmmdm avatar superxmmdm commented on August 21, 2024 2

from ddcgan.

superxmmdm avatar superxmmdm commented on August 21, 2024

我遇到了同样的问题,请问您解决了吗?

from ddcgan.

Xyler6561 avatar Xyler6561 commented on August 21, 2024

您好, 我也遇到了一样的问题,不知道这个问题有没有相关解决方法呢?

from ddcgan.

hanna-xu avatar hanna-xu commented on August 21, 2024

数据维度不一致造成的,建议交换数据维度

from ddcgan.

lmydream avatar lmydream commented on August 21, 2024

我也遇到了这个问题,请问您是怎么解决的呢?非常感谢

from ddcgan.

1214083397 avatar 1214083397 commented on August 21, 2024

建议修改为:
VIS_batch = source_imgs[batch * BATCH_SIZE:(batch * BATCH_SIZE + BATCH_SIZE), 0, :, :]
ir_or_batch = source_imgs[batch * BATCH_SIZE:(batch * BATCH_SIZE + BATCH_SIZE), 1, :, :]

from ddcgan.

1214083397 avatar 1214083397 commented on August 21, 2024
ir_batch[b, :, :] = scipy.ndimage.zoom(ir_or_batch[b, :, :], 0.25)

ValueError: could not broadcast input array from shape (0,21) into shape (21,21)

执行的过程中报了这个错误。请问应该如何处理

建议修改为:
VIS_batch = source_imgs[batch * BATCH_SIZE:(batch * BATCH_SIZE + BATCH_SIZE), 0, :, :]
ir_or_batch = source_imgs[batch * BATCH_SIZE:(batch * BATCH_SIZE + BATCH_SIZE), 1, :, :]

from ddcgan.

1214083397 avatar 1214083397 commented on August 21, 2024

我也遇到了这个问题,请问您是怎么解决的呢?非常感谢

建议修改为:
VIS_batch = source_imgs[batch * BATCH_SIZE:(batch * BATCH_SIZE + BATCH_SIZE), 0, :, :]
ir_or_batch = source_imgs[batch * BATCH_SIZE:(batch * BATCH_SIZE + BATCH_SIZE), 1, :, :]

from ddcgan.

lmydream avatar lmydream commented on August 21, 2024

数据维度不一致造成的,建议交换数据维度
想用自己的数据集跑same-resolution vis-ir image fusion的图像融合,然后把一张源图像分为若干个84X84patch组成数据集,但是训练结果非常非常差,请问一下这是我数据集制作的错误吗

from ddcgan.

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.