Skip to content

Instantly share code, notes, and snippets.

View sriharsha0806's full-sized avatar

sriharsha annamaneni sriharsha0806

View GitHub Profile
name: "segnet"
layer {
name: "data"
type: "DenseImageData"
top: "data"
top: "label"
dense_image_data_param {
source: "/SegNet/CamVid/test.txt" # Change this to the absolute path to your data file
batch_size: 1
}
name: "VGG_ILSVRC_16_layer"
layer {
name: "data"
type: "DenseImageData"
top: "data"
top: "label"
dense_image_data_param {
source: "/SegNet/CamVid/test.txt" # Change this to the absolute path to your data file
batch_size: 4 # Change this to be the number of Monte Carlo Dropout samples you wish to make
}
name: "segnet"
layer {
name: "data"
type: "DenseImageData"
top: "data"
top: "label"
dense_image_data_param {
source: "/SegNet/CamVid/test.txt" # Change this to the absolute path to your data file
batch_size: 8 # Change this to be the number of Monte Carlo Dropout samples you wish to make
}
{
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
@sriharsha0806
sriharsha0806 / Tutorial_1
Created September 18, 2016 06:28
Welcome to the Tutorial wiki! I have used the following reference to learn python programming "https://github.com/kuleshov/cs228-material/blob/master/tutorials/python/cs228-python-tutorial.ipynb" Some commands are not working like s.replace() of string operations.
{
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": false
},
"outputs": [
{
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 12 10:31:29 2016
@author: sriharsha
"""
import cv2
import numpy as np
from matplotlib import pyplot as plt
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 12 08:44:14 2016
@author: sriharsha
"""
import cv2
from matplotlib import pyplot as plt
img = cv2.imread('Fig0335(a)(ckt_board_saltpep_prob_pt05).tif')
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 10 23:01:41 2016
@author: sriharsha
"""
import cv2
import numpy as np
from matplotlib import pyplot as plt
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 10 21:51:12 2016
@author: sriharsha
"""
import cv2
from matplotlib import pyplot as plt
img = cv2.imread('Fig0316(4)(bottom_left).tif')
# Image 1
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 10 19:11:21 2016
@author: sriharsha
"""
import cv2
import numpy as np
img = cv2.imread('Fig0304(a)(breast_digital_Xray).tif')
cv2.imshow('Original_digital_mammogram',img)