Giter VIP home page Giter VIP logo

Comments (2)

YutaroOgawa avatar YutaroOgawa commented on August 25, 2024

@Semayuki さま

こちら、深い調査が必要となるかもしれず、現在、そこに対応する余裕がございません。
しばらくお時間がかかります。
大変申し訳ございませんが、どうぞよろしくお願い致します。

他の読者の方で、同様の現象に陥っている方がいましたら、状況を教えていただけると幸いです。

どうぞよろしくお願い致します。

from pytorch_advanced.

siruku6 avatar siruku6 commented on August 25, 2024

2021/11/25発行の第9刷 p.78のソースコード([2-3 DataLoaderの実装]中の od_collate_fn内)

imgs = torch.stack(imgs, dim=0)

については、問題なく動作しました。

版・刷と、実際に記載されていたソースコード全体の情報がないとなんとも言えないのですが、
今回のエラーが invalid syntax だったとすると、
データの誤りなどではなくて、Pythonの文法上の誤りだったのではないかと思います。

ご参考まで。

from pytorch_advanced.

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.