Skip to content

Instantly share code, notes, and snippets.

View debarko's full-sized avatar
🏠
Working from home

Debarko De debarko

🏠
Working from home
View GitHub Profile
@debarko
debarko / readme.md
Created February 10, 2017 03:39 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@debarko
debarko / capsLayer.py
Created November 1, 2017 00:26
CapsNet Capsule Definition
# It only has two dependencies numpy and tensorflow
import numpy as np
import tensorflow as tf
from config import cfg
# Class defining a Convolutional Capsule
# consisting of multiple neuron layers
#
@debarko
debarko / lua-cheatsheet.lua
Created April 27, 2018 19:45
LUA Cheatsheet for starting to program in Lua for experienced developers
------------------------------------------------------------------
------------------------------------------------------------------
------------LUA SUMMARY-------------------------------------------
------------------------------------------------------------------
------------------------------------------------------------------
--This is a comment. For Lua, comments are invisible.
--We can type everything we want in here, without causing errors
--To make a multi-line comment we use --[[]]
@debarko
debarko / RNN_Predict.ipynb
Last active October 19, 2022 21:41
A RNN implementation in Keras
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@debarko
debarko / cowin_schedule_district_wise.js
Last active June 3, 2021 08:07
Get an update on console as soon as a slot opens up in https://selfregistration.cowin.gov.in/ . Login to the website and then run this script on Console.
// This script will alert you whenever some slot opens up on the given date within the given District IDs
// Change the districts to your needs as per your city
// Change the dateArr to add your convinent set of dates
// For further update do checkout http://twitter.com/debarko/
// How To setup Video -> https://www.youtube.com/watch?v=3_N5FFegtI4
// Steps to use
// 1. Update Config
@debarko
debarko / cowin_auto_book.js
Last active May 12, 2021 18:20
cowin book backup
// This is WIP (Work in Progress) and this doesn't work, auto booking is still not tested properly. Use the last file cowin_schedule_v2.js
// If you want use the 3rd file in the list which will alert you as soon as a slot opens up
// This script tries to automatically book a slot from the list of pincodes given.
// It will book the first available slot.
// You can get the beneficiary ID from your networks tab when the dashboard loads
// Please do change the date to which ever day you are searching for. (Works only for a few days in advance)
// Config
// ------
@debarko
debarko / cowin_schedule_covaxin_dose_2.js
Last active May 31, 2021 12:20
Covaxin Dose 2 Locator By District
// PLEASE READ THE NEXT FEW LINES
// Change district IDs to your required ones as per this link -> https://tinyurl.com/p9e539zt (Thanks @bhattbhavesh91 for creating the CSV)
// Change the date (No need to add more than 1 date, it will fetch for next 7 days from the entered date)
// Change the vaccine_name to whichever vaccine you need for 2nd dose.
// Video to setup a similar script -> https://www.youtube.com/watch?v=3_N5FFegtI4
// Note the above video doesn't use the same script, use the same steps but copy this script. Rest all steps are same.
// Config
var districts = [294, 265];