Skip to content

Instantly share code, notes, and snippets.

View crazysal's full-sized avatar
🎯
Focusing

Saleem Ahmed crazysal

🎯
Focusing
View GitHub Profile
input: "decoder"
input_shape { dim: 1 dim: 1 dim: 256 }
input: "sample_gt_cont"
input_shape { dim: 1 dim: 1 }
input: "sample_gt_label_input"
input_shape { dim: 1 dim: 1 }
layer {
@crazysal
crazysal / Decoder.pt
Last active January 10, 2019 17:21
Decoder training model for end to end textspotter
name : "DECODER"
input: "sample_gt_label_input"
input_shape { dim: 1 dim: 1 }
input2: "sample_gt_cont"
input_shape { dim: 1 dim: 1 }
@crazysal
crazysal / lstm.pt
Created January 10, 2019 18:14
simple LSTM PT in caffe
name: "LSTM"
input: "data"
input_shape { dim: 320 dim: 1 }
input: "clip"
input_shape { dim: 320 dim: 1 }
input: "label"
input_shape { dim: 320 dim: 1 }
layer {
name: "Silence"
type: "Silence"
@crazysal
crazysal / accmathVOCtriplet.py
Created March 5, 2019 20:05
Access Math Voc Triplet Data Loader
import os
import traceback
import time
import xml.etree.ElementTree as ET
import torch
from torch.utils.data import Dataset
from data.utils import filter_by_shape, extend_bbox, image_channel_mean, bbox_to_quad
from data.transforms import TransformCrop, TransformPad, BinarizerWeightGeneration
@crazysal
crazysal / cuda_ver.txt
Created April 25, 2019 18:19
Check Cuda and cuDNN versions
cat /usr/local/cuda/version.txt
nvcc --version
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
or
cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2
@crazysal
crazysal / linking with C C++ libraries with gcc g++ when building an existing project
Created October 15, 2020 11:30
linking with C/C++ libraries with gcc/g++ when building an existing project
Notes on linking with C/C++ libraries with gcc/g++ when building an
existing project.
-- Iain Murray, 2015.
There are at least three things that can go wrong when trying to link
with a library that is in a non-standard location on your machine:
1. The compiler can't find the .h header files.
2. The linker can't find the library's binary .a or .so files.
@crazysal
crazysal / ml_ai.txt
Last active December 23, 2022 07:50
ML-AI News links
Google launches Cloud speech API(Limited preview) Google speech API news http://techcrunch.com/2016/03/23/google-opens-access-to-its-speech-recognition-api-going-head-to-head-with-nuance/
Baidu open sources some AI code https://github.com/baidu-research/warp-ctc
Yahoo releases largest dataset for machine learning Dataset https://yahooresearch.tumblr.com/
Comparison of machine learning frameworks Cornell Univ Paper http://arxiv.org/abs/1511.06435
Advance in visual intelligence NYT article http://www.nytimes.com/2015/12/11/science/an-advance-in-artificial-intelligence-rivals-human-vision-abilities.html