Git Product home page Git Product logo

Comments (3)

ayukat1016 avatar ayukat1016 commented on June 24, 2024 1

@natty5918
返信ありがとうございます。
はい。その理解で問題ありません。
errD_realとerrD_fakeの計算時点で経路が決まります。

from gan_sample.

ayukat1016 avatar ayukat1016 commented on June 24, 2024

@natty5918
お問い合わせありがとうございます。3章担当の毛利です。
お返事が遅くなり、失礼しました。

識別器の出力値outputの件、本物画像と偽物画像の双方でoutputになっています。
これは執筆時にPyTorchの公式実装とコーディングを揃えたためです。公式に忠実な実装なため、誤動作する可能性は低いと考えています。
https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html

本物画像と偽物画像はラベルが異なり、p73のJ^Dの交差エントロピーの片方の項がラベルにより落ちて本物画像の損失と偽物画像の損失が独立です。よって、本物画像の勾配と偽物画像の勾配も独立なため、errDで本物と偽物の誤差を纏めて計算して問題ないという理解です。

from gan_sample.

natty5918 avatar natty5918 commented on June 24, 2024

毛利 様
詳細に解説していただきありがとうございます!
ご教示の点はクリアになりました。ありがとうございます。
同じ名称を使っていても各error項を計算した時点でもう逆伝播の経路が定まったというふうに理解しておりますが問題ないでしょうか。

from gan_sample.

Related Issues (15)

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.