Code Monkey home page Code Monkey logo

deepprofiler's People

Contributors

arkkienkeli avatar diskontinuum avatar fefossa avatar gidim avatar goldsborough avatar jccaicedo avatar johnarevalo avatar marziehhaghighi avatar massachusett avatar michaelbornholdt avatar santient avatar shntnu 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

Watchers

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

deepprofiler's Issues

Deprecate TensorFlow queues

They are too slow and limited by Python multi-threading. It would be great if we use instead a Keras data generator or something similar.

Implement new CLI for learning a CNN

The script 05LearnCNN.py can be factorized and reorganized in the package learning. A configuration file should be expected with information of the compressed data and indices.

The compression routine should create a new index

The input metadata for the compression routine takes a list of TIFF files to generate the PNG outputs. However, the locations of PNGs are different to the directory structure of TIFFs, and the extensions are also different. Right after compression, the command should create a copy of the metadata file, with the same fields, but with updated paths to the new files.

Factorize input graph in a class

Right now this is a function that returns a dictionary with tensorflow placeholders. In order to extend the input graph with different targets (labels, tasks, etc.), this function can be transformed into a class that handles events.

Share image size between scripts

Target image size is used for compression, and should also be used for creating cell location files. Currently this is ignored, and the parameter should be shared between scripts. e.g. luad/03 and luad/04

Create scripts for metadata preparation

Currently, the scripts for metadata preparation are dataset specific. There are some invariants when the input comes from Cytominer. We can parameterize the common variables and refactor the script, assuming that labels come from treatments and data splits come from replicates. In addition, the script can receive data splits and labels separately from other inputs.

Tests failing due to missing json files

This is the error:

target = <deepprofiler.dataset.target.MetadataColumnTarget object at 0x7fa5f7114ef0>, values = [5, 81, 83, 17, 71, 12, ...]

    def test_init(target, values):
        field_name = 'test'
        shuffle(values)
        assert target.field_name == field_name
>       assert len(target.index) == len(values)
E       assert 9 == 10
E        +  where 9 = len({5: 1, 8: 2, 12: 3, 17: 4, ...})
E        +    where {5: 1, 8: 2, 12: 3, 17: 4, ...} = <deepprofiler.dataset.target.MetadataColumnTarget object at 0x7fa5f7114ef0>.index
E        +  and   10 = len([5, 81, 83, 17, 71, 12, ...])

tests/dataset/test_target.py:24: AssertionError

Compute pixel distribution of control wells

This distribution should be used to normalize pixel values for learning (not for compression). The distribution can be computed along with illumination correction and other pixel statistics.

Update and fix validation

Validation routines work with the previous single prediction model as well as the old input graph definition. Some factorization will be needed to make it work again. Validation is currently broken.

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.