Skip to content

Instantly share code, notes, and snippets.

View kumarjitpathakbangalore's full-sized avatar

Kumarjit Pathak kumarjitpathakbangalore

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kumarjitpathakbangalore
kumarjitpathakbangalore / Author_classification_using_CNN_on_Text_an_example_of_INCREMENTAL_LEARNING.ipynb
Last active May 4, 2023 17:42
Incremental Learning Example for Text Classification Using CNN
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from scipy.misc import imread, imresize
from keras.layers import Input, Dense, Convolution2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, merge, Reshape, Activation
from keras.models import Model
from keras.regularizers import l2
from keras.optimizers import SGD
from googlenet_custom_layers import PoolHelper,LRN
def create_googlenet(weights_path=None):