Coder Social home page Coder Social logo

ouwen / mimicknet Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 13.0 100.24 MB

Matching clinical-grade ultrasound post-processing without the hassle.

Home Page: https://arxiv.org/abs/1908.05782

License: Apache License 2.0

Python 98.62% Shell 0.90% Dockerfile 0.48%

mimicknet's People

Contributors

ouwen 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mimicknet's Issues

dependency. Keras Importer

Error using importKerasNetwork (line 86)
importKerasNetwork requires the Deep Learning Toolbox Importer for Keras Models support package. To install this support package, use the
Add-On Explorer.

Error in matlab_example (line 6)
net = importKerasNetwork('matlab_mimicknet_small_ladj.h5', ...

augment setup.py

would include author info, contact email, license, MimickNet name for package (?), make sure the version tracks your tag, etc.

How to use mimicknet ๏ผŸ

Hello, how can I improve the resolution of single photos by using the pre-training model? Looking forward to your reply.Thanks.

Add preprocessing into the graph.

It should be possible to add the preprocessing step into the graph. Users can also provide a flag to turn this feature off, but it would cut down on the boilerplate code required to run MimickNet.

how to load the "padded" version of MimickNet model ?

Hi Sir,

In Python, below codes load the model "mimicknet_1568473738-210304.h5" successfully

mimicknet_model = tf.keras.models.load_model('./mimicknet_1568473738-210304.h5' compile=False)

However, if change the model file to 'padded_mimicknet_1568473738-210304.h5', it gives me the error :

ValueError: bad marshal data (unknown type code)

After some googling, that might be related to the Python version used when compiling the model file, though I believe you compiled these models under the same Python version (?), so for now I have no idea about how to proceed.

As my understanding, the "padded" version has built in the custom_pad() and custom_depad() function in layer input and output, so I can directly use the model without the codes to define custom_pad() and custom_depad(), so I would prefer to use the "padded" version, thanks and very appreciated for your help .

paragraph of Readme.me is incomplete

Hi Sir,

I believe below paragraph of Readme.me is incomplete, could you review this paragraph ? Thanks.


The model from the paper is provided as mimicknet_legacy.h5. We also provide a luminance adjusted version with fewer weights with mimicknet_1568473738-210304.h5 and padded_mimicknet_1568473738-210304.h5. The padded prefix allows for padding to be apart of the model, so no 16 padding logic is required. However, the layer used is incompatible with matlab, thus the matlab version has no pre-padding.

The mimicknet_phantom_verasonics.h5 models were generated with the

A notebook and sample data is provided under examples for use in the following environments:

matlab

Matlab timing

The first two calls to predict were slower than your quoted fps. You may want to put predict in a for loop to get to the timing on the 3rd or 4th frame...

Elapsed time is [ 6.941276, 0.356177, 0.090208, 0.094417 ] seconds.

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.