Giter Site home page Giter Site logo

linc-interview's Introduction

Coding exercise for LINC interviews

Instructions

Open the file exercise.py. You are asked to fill the methods and functions that currently raise NotImplementedError:

  • Backbone.__init__
  • Backbone.forward
  • train
  • test

The first thing to do is to implement a 2D UNet. However, this UNet must be flexibly parameterized. In particular, we ask that the number of levels, number of features per layer and number of convolutions per layer be switcheable by the user. Although this is not required, you may optionally parameterize the type of pooling/unpooling operation (bilinear interpolation, strided convolution, max pooling) and the activation function.

The second thing to do is to implement train and test functions for a voxelmorph registration network, that uses your UNet as a backbone. The VoxelMorph class it already written, but you will need to write your own training loop, as well as a test function. You are free to parameterize the training loop as you wish. However, you are asked to use the train/eval/test dataloaders that are provided.

To submit your solution, please open a pull request.

Notes

If you've never coded in PyTorch before, you'll want to read some of the PyTorch tutorials. We recommend:

In this case, doing this excercise will take a bit of time, but it will be a good learning exercise.

If you are familiar with PyTorch and you've already built and trained models, it should be much faster. In this case, we recommend focusing on code quality and readability.

linc-interview's People

Contributors

balbasty avatar

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.