Giter Club home page Giter Club logo

l2l-example's Introduction

L2L Challenge Example Submission

This is an example for how to prepare a valid submission for the MICCAI L2L Challenge

It is based on the pretrained imagenet example from MIMeta and process input images and generates predictions by fine-tuning a pretrained network on the target task.

A real submission will likely be more complex and probably contain multiple python modules, but this example should give you a good starting point.

Please also note that in this example we aimed for clean and simple code, not runtime efficiency. A more efficient fine-tuning loop would allow for more steps and a larger, given the available evaluation time.

How to replicate this example

Prerequisites

  • Python 3.10
  • pip
  • singularity

Install dependencies

Create a new environment with python>=3.10 and install the dependencies:

pip install -r requirements.txt

Download the model

In the example_submission directory, run download.py to download the model. This allow us to put the model in the container and avoid downloading it at evaluation time. Containers will not have access to the internet on the evaluation server.

python download.py

Build the singularity container

Still in the example_submission directory, run the following command to build the singularity container:

singularity build --fakeroot --force example-submision.sif singularity.def

Submit

Authors

Stefano Woerner, Bartłomiej Baranowski

l2l-example's People

Contributors

stefanowoerner avatar baumgach 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.