Giter Site home page Giter Site logo

dl_with_pytorch's Issues

Chapter 6 IMDB_LSTM_with_batching 성능

안녕하세요,

다름이 아니라 IMDB_LSTM_with_batching_completed.ipynb에서 나오는 IMDB의 예측 정확도와 제가 colab에서 위의 노트북 파일을 그대로 실행한 결과가 다르게 나오네요.

같은 데이터에 같은 Embedding 모델을 사용하고 코드도 동일한데 저는 epoch를 10번 실행하는 동안 성능이 24~5%에 그칩니다.

혹시 pytorch가 업데이트 되면서 코드가 수정되어야 하는 부분이 있는것인지 궁금합니다.

image

확인해 주시면 감사하겠습니다.

8장 ResNet 단순한 선형 모델 만들기 fc_in_size = 8192

fc_in_size = 8192

for epoch in range(1, 10):
----> 4 epoch_loss, epoch_accuracy = fit(epoch,fc,trn_feat_loader,phase='training')

RuntimeError: mat1 dim 1 must match mat2 dim 0 에러 발생!

ResNet34의 fc.in_features가 512인데 8192로 설정해서 발생하는 것 아닌가요?

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.