In Theano, how to do Reverse-MaxPooling in the Convolutional MaxPooling Auto-Encoder
2015-03-07 08:59
429 查看
MaxPooling Layer always follows Convolutional Layer. But in the Convolutional MaxPooling Auto-Encoder, how to do reverse or Un-MaxPooling?
Here is the method:
View Code
Here is the method:
neighbor box: (2, 2) original images: [[[[ 15. 46. 46. 37.] [ 73. 93. 2. 91.] [ 97. 93. 78. 7.] [ 0. 24. 34. 26.]]] [[[ 70. 46. 2. 93.] [ 11. 54. 29. 83.] [ 0. 48. 69. 95.] [ 49. 48. 10. 19.]]]] neighbor flatten: [[ 15. 46. 73. 93.] [ 46. 37. 2. 91.] [ 97. 93. 0. 24.] [ 78. 7. 34. 26.] [ 70. 46. 11. 54.] [ 2. 93. 29. 83.] [ 0. 48. 49. 48.] [ 69. 95. 10. 19.]] non maximum suppression result: [[[[ 0. 0. 0. 0.] [ 0. 93. 0. 91.] [ 97. 0. 78. 0.] [ 0. 0. 0. 0.]]] [[[ 70. 0. 0. 93.] [ 0. 0. 0. 0.] [ 0. 0. 0. 95.] [ 49. 0. 0. 0.]]]]
View Code
相关文章推荐
- How to do live debug the Managed code in Windows Phone 7
- How to do the TM symbol in HTML
- How to remove the //TODO comments from auto-generated code
- How To Do Research In the MIT AI Lab_1_Reading AI
- how to do with the special characters in the xml data
- How to do conditional auto-wiring in Spring?
- In an iOS 5 Storyboard, how do you push a new scene to the original view controller from a Popover?
- FAQ How do I write to the console from a plug-in?
- How to select the first/least/max row per group in SQL
- [转]WinForms GridListEditor - How to restore values in the auto filter row
- (C#) A demo on how to auto fill out the "account" value in log in web page in "WebBrowser" control.
- FAQ How do I write to the console from a plug-in?
- How do you copy the contents of an array to a std::vector in C++ without looping? (From stack over flow)
- How do I write a LINQ to Entities query which has the equivalent of the SQL “in” keyword?
- How To Do Research In the MIT AI Lab
- How do I fix the linker error in project upgraded from VS2010 to VS2013 where the linker is looking
- How to change the highlight color in autocomplete box in Eclipse
- How do I lock the orientation to portrait mode in a iPhone Web Application?
- InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
- How to do the TM symbol in HTML