Skip to content

Instantly share code, notes, and snippets.

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

Ugenteraan Manogaran Ugenteraan

🏠
Working from home
View GitHub Profile
nonMaxSuppression: function(scores, boxes) {
const self = this
let zipped = []
for (let i = 0; i < scores.length; i++) {
zipped.push([
scores[i], [boxes[4*i], boxes[4*i + 1], boxes[4*i + 2], boxes[4*i + 3]], i
])
}
@beeva-albertorincon
beeva-albertorincon / get_cifar100.py
Last active March 7, 2021 12:46
CIFAR100 dataset extraction
# coding: utf-8
import numpy as np
import pandas as pd
import pickle
from scipy import misc
from tqdm import tqdm
def unpickle(file):