Skip to content

Instantly share code, notes, and snippets.

View ankitmundada's full-sized avatar

Ankit Mundada ankitmundada

View GitHub Profile
@ankitmundada
ankitmundada / .zshrc
Created March 2, 2019 09:45
Oh My Zsh configuration
#
@ankitmundada
ankitmundada / download_gdrive
Last active April 17, 2022 23:11
Shell Script to download Publicly shared Google drive files
#!/bin/bash
# Get files from Google Drive
# Source: https://stackoverflow.com/a/50573452/2382312
# Usage: download_gdrive FILE_ID DESTINATION_PATH
# $1 = file ID
# $2 = file name
URL="https://drive.google.com/uc?export=download&id=$1"
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
from matplotlib import pyplot as plt
import math
from tensorflow.keras.callbacks import LambdaCallback
import tensorflow.keras.backend as K
import numpy as np
class LRFinder:
"""
Plots the change of the loss function of a
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import 'dart:async';
///
/// Simulating DB
///
Map<String, String> data = {
'id1': 'data for id1',
'id2': 'data for id2',
'id3': 'data for id3',