Code Monkey home page Code Monkey logo

02456-deep-learning-with-pytorch's People

Contributors

addtt avatar alrojo avatar anderschri avatar captaine avatar didriknielsen avatar dimkal89 avatar faur avatar frellsen avatar georgosgeorgos avatar jonasbusk avatar nicklashansen avatar pihalf avatar polaschwoebel avatar raulorteg avatar rocreguant avatar s161174 avatar tstannius avatar vlievin avatar wohlert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

02456-deep-learning-with-pytorch's Issues

Lab4 Validation loss overestimation

Andrea:

The data generation script has some weird stuff going on, and the main notebook works around that by using minibatch-based evaluation. If the validation set is 99, this breaks unless the training batch size is at least 99. The loss is computed using 3 minibatches with size 32 and one with size 3. But actually the last one has still size 32 and the last 29 examples all have labels 0, so after some training this part of the validation set will have a huge loss. Everything works anyway, but the validation loss (NLL) is overestimated a lot.

Mistake in 1.2-automatic-differentiation.ipynb

Text in notebook:

z.sum().backward()
print(x.grad)
tensor([[27., 27.],
[27., 27.]])

It says "You should have got a matrix of 4.5." This code actually creates

tensor([[27., 27.],
[27., 27.]])

It looks like it should instead be:

z.sum()
print(x.grad)

Lab4 output

The output of the net is softmaxed so it’s probabilities, but then we use a loss function that assumes them to be scores and applies softmax again. This is not a big problem in practice, but in principle it doesn’t make sense, and it clashes with the score given by Kaggle if you upload the results, because as far as I understand Kaggle assumes the outputs to be scores, whereas we have probabilities.

Updating the readme and dockerfile.gpu file

Hi,

While I do not think that Docker is at all necessary to run any of the scripts with CUDA enabled up until now (Week3), I have spent way to much time trying to follow the guide for setting up the Docker container with current readme.md and dockerfile.gpu file.

Is it not possible for the course responsible to streamline and update the contents to actually reflect the current software available, so the students do not need to use extra time on top of the weekly tasks?

  • Nvidia-docker is not available anymore, and is super-seeded by the "NVIDIA Container Toolkit"
  • The dockerfile.gpu is using ubunto16 and we are at ubunto22 currently
  • the link used for windows cpu, is not available anymore: https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c
  • Can we have an alternative dockerfile that uses regular python rather than conda
  • Maybe also a proper setup guide for windows GPU?

I think this would make it substantially easier for new students to figure out what they need to do when they get to week3.
Best Regards

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.