Git Product home page Git Product logo

Comments (5)

csukuangfj avatar csukuangfj commented on September 22, 2024 1

The argument label_smoothing for torch.nn.CrossEntropyLoss is only available for torch >= 1.10

It is added in https://github.com/pytorch/pytorch/pull/63122/files#diff-6b8e21a44da970b14c1d62eb1747af1b09d3914ff1f6354754c62f1f5784cb9dR1107
on 2021-08-12, which is quite new.

from icefall.

csukuangfj avatar csukuangfj commented on September 22, 2024 1

Is there any difference between the icefall implementation and the one provided by pytorch?

Please see #107

from icefall.

janvainer avatar janvainer commented on September 22, 2024

I see, but otherwise the functionality should be the same, right?

from icefall.

csukuangfj avatar csukuangfj commented on September 22, 2024

I have not checked that. Will read PyTorch's implementation tomorrow and come back later.

Thanks for pointing this out. I was not aware of this argument for torch.nn.CrossEntropyLoss.

from icefall.

janvainer avatar janvainer commented on September 22, 2024

Thanks, yeah this torch version is quite new. I found it by accident :)

from icefall.

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.