This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from keras.models import Sequential | |
| from keras.layers import Dense, Activation, Flatten | |
| from keras.layers import Convolution2D, MaxPooling2D | |
| from keras.optimizers import Adamax | |
| import numpy as np | |
| from keras.preprocessing.image import ImageDataGenerator | |
| def main(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! dicom-parser - v1.5.0 - 2016-05-08 | (c) 2014 Chris Hafey | https://github.com/chafey/dicomParser */ | |
| (function (root, factory) { | |
| // node.js | |
| if (typeof module !== 'undefined' && module.exports) { | |
| module.exports = factory(); | |
| } | |
| else if (typeof define === 'function' && define.amd) { | |
| // AMD. Register as an anonymous module. | |
| define([], factory); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sess, meta_graph_def = session_bundle.load_session_bundle_from_path(input) | |
| signatures_any = sess.graph.get_collection(constants.SIGNATURES_KEY) | |
| signatures = manifest_pb2.Signatures() | |
| signatures_any[0].Unpack(signatures) | |
| inputs = signatures.named_signatures['inputs'].generic_signature | |
| input_name = inputs.map['images'].tensor_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Accelerate/Accelerate.h> | |
| #include <stdio.h> | |
| #include <sys/time.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| int main(int argc, const char * argv[]) | |
| { | |
| // Description of the input image stack |
OlderNewer