Skip to content

Instantly share code, notes, and snippets.

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

Shubhashis Roy Dipta dipta007

🏠
Working from home
View GitHub Profile
@dipta007
dipta007 / wandb_update_bests.py
Created July 19, 2024 02:52 — forked from LTeder/wandb_update_bests.py
Updates target parameters in all runs of a W&B project to bests as reported by api.run.scan_history()
import wandb
from tqdm import tqdm
WANDB_PROJECT = "project"
TEST_CHANGES = True # Run once before changing
api = wandb.Api()
runs = [run for run in api.runs(WANDB_PROJECT)]
print(f"{len(runs)} runs found")
@dipta007
dipta007 / Music_genre_classification.ipynb
Last active April 12, 2022 09:07 — forked from parulnith/Music_genre_classification.ipynb
Music Genre Classification.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!
@dipta007
dipta007 / README-Template.md
Created November 22, 2017 21:24 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@dipta007
dipta007 / littlejudge.py
Last active February 8, 2016 13:02 — forked from rajarsheem/littlechecker.py
A little online judge tool in python for Java,C,Cpp. Handles compile error, runtime error, accepted, wrong, TLE.
import os, filecmp
codes = {200:'success',404:'file not found',400:'error',408:'timeout'}
def compile(file,lang):
if lang == 'java':
class_file = file[:-4]+"class"
elif lang == 'c':
class_file = file[:-2]
elif lang=='cpp':
@dipta007
dipta007 / ideas.md
Last active October 18, 2021 04:56 — forked from tsaqib/ideas.md
Ideas that you can use for hackathons, competitions and research.

Ideas

I have collected and moderated these ideas from various public sources and put into one place so that problem solvers and solution developers may find inspiration. Because I wish to update it regularly, I have setup as a single page wiki. You may try these ideas on hackathons/competitions/research; some are quite intense problems and some are not. Many of the problems were prepared keeping Dhaka/Bangladesh in mind, but of course can be applied to just about any underdeveloped/developing and sometimes developed countries.

Categories:
  • Eradicate Extreme Poverty and Hunger
  • Education
  • Healthcare
  • Governance