Skip to content

Instantly share code, notes, and snippets.

View crazysal's full-sized avatar
🎯
Focusing

Saleem Ahmed crazysal

🎯
Focusing
View GitHub Profile
$ sudo pip install Theano[test,doc]
Downloading/unpacking Theano[test,doc]
Downloading Theano-0.8.2.tar.gz (2.9MB): 2.9MB downloaded
Running setup.py (path:/tmp/pip_build_root/Theano/setup.py) egg_info for package Theano
warning: manifest_maker: MANIFEST.in, line 9: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
Installing extra requirements: 'test,doc'
Downloading/unpacking numpy>=1.7.1 (from Theano[test,doc])
#The MIT License (MIT)
#
#Copyright (c) 2015 Andre Queiroz
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions:
@crazysal
crazysal / .bash_profile
Created September 26, 2016 18:22 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
4 root organization
> name
> organization
> name
> website
> organizationalUnit
> organizationalUnit
> organizationalUnit
> organizationalUnit .... multiple units first level
> name
@crazysal
crazysal / au_gov
Created June 7, 2017 12:27
Directory.gov.au full data export
This file has been truncated, but you can view the full file.
{
"directoryExport": {
"$": {
"xmlns": "http://directory.gov.au"
},
"organization": [{
"$": {
"UUID": "74aa05c1-872c-4e94-ae3c-c3a87e4de3ab"
},
"name": ["Commonwealth Parliament"],
@crazysal
crazysal / VRNN tiny Shakespeare.ipynb
Created April 27, 2018 22:59 — forked from lirnli/VRNN tiny Shakespeare.ipynb
Variational Recurrent Network tiny Shakespeare
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@crazysal
crazysal / aes_example.c
Created September 11, 2018 20:17
AES Example code by intel sample library
/* ex: set ts=4: */
/*
based on code from http://www.progressive-coding.com/tutorial.php?id=3#end
---------------------------------------------------------------------------
Copyright (c) 2007-2010, Laurent Haan, Luxembourg, LU. All rights reserved.
LICENSE TERMS
The redistribution and use of this software (with or without changes)
is allowed without the payment of fees or royalties provided that:
@crazysal
crazysal / cropAndResize.c
Last active December 30, 2018 00:27
C code to crop and resize a rectangle box from an image to given dimension
void CropAndResizePerBox(
const float * image_data,
const int batch_size,
const int depth,
const int image_height,
const int image_width,
const float * boxes_data,
const int * box_index_data,
const int start_box,
name: "PVANET"
layer {
type: "YOU DATA LAYER"
top: "mask_gt" ### 2 * 640 * 640 * 1 ### mask for text/non-text segmentation
top: "mask_iou_angle" ### 1 * 640 * 640 * 5 ### iou with 4 channels and angle with one channel
top: "gt_bbox" ### N * 8 ### grounding truth boxes for text (for computing loss)
top: "ignore_bbox" ### N * 8 ### grounding truth boxes for text (for ignoring)
}
name: "PVANET"
input: "data"
input_shape { dim: 1 dim: 3 dim: 512 dim: 512 }
input: "fcn_th"
input_shape { dim: 1 dim: 1 }
################################################################################
## Convolution