Coder Social home page Coder Social logo

sliding window to extract patchs about cntkx HOT 6 CLOSED

delzac avatar delzac commented on June 27, 2024
sliding window to extract patchs

from cntkx.

Comments (6)

delzac avatar delzac commented on June 27, 2024

I know tensorflow has this function called extract_image_patches that does sliding window for images.

But i haven't thought of a way to implement it in cntk. It might not be possible with the python API or might be so inefficient that it is not worth trying :(

Duplicate #3752

from cntkx.

delzac avatar delzac commented on June 27, 2024

@haixpham Actually this might be what you are looking for! Found it in this cntk issue #2819. It creates a sliding window for image.

from cntkx.

delzac avatar delzac commented on June 27, 2024

@haixpham Let me know if it works and how is the performance. I may add it in cntkx.

from cntkx.

haixpham avatar haixpham commented on June 27, 2024

the code from there does not work, it raises RuntimeError. I will spend time brainstorming on a solution.

from cntkx.

haixpham avatar haixpham commented on June 27, 2024

I ended up not extracting patches explicitly, and came up with an efficient implementation of median filter. Tested it and it works as intended. See my post on CNTK forum for details.

P.S: I will continue using CNTK in my work. Have tried other frameworks but CNTK is still the best with its current feature set, especially dynamic sequence axis. Would you mind if I join in developing cntkx?

from cntkx.

delzac avatar delzac commented on June 27, 2024

It's great to hear that you managed to solve the problem, I definitely take a took at your implementation to learn from it!!

I'm personally still using CNTK because of the dynamic axis too! I would love to have you join in in developing cntkx, more than welcome!!! ❤️❤️❤️

from cntkx.

Related Issues (8)

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.