Skip to content

Instantly share code, notes, and snippets.

View MInner's full-sized avatar

Ben Usman MInner

View GitHub Profile
@sebastiancarlos
sebastiancarlos / geforcenow_games_with_steam_appid_and_score_info.csv
Created August 27, 2022 20:08
Geforce Now games with Steam appid and score info
game steam appid review_score review_score_desc total_positive total_negative total_reviews review_ratio (total_positive/total_negative)
Factorio 427520 9 Overwhelmingly Positive 131278 1423 132701 92.25439213
ULTRAKILL 1229490 9 Overwhelmingly Positive 32445 366 32811 88.64754098
People Playground 1118200 9 Overwhelmingly Positive 132851 1501 134352 88.50832778
Portal 2 620 9 Overwhelmingly Positive 300945 3674 304619 81.91208492
Rhythm Doctor 774181 9 Overwhelmingly Positive 15628 241 15869 64.84647303
Portal 400 9 Overwhelmingly Positive 109555 1724 111279 63.54698376
RimWorld 294100 9 Overwhelmingly Positive 135718 2370 138088 57.2649789
Stardew Valley 413150 9 Overwhelmingly Positive 484280 9114 493394 53.13583498
Wobbledogs 1424330 9 Overwhelmingly Positive 4247 86 4333 49.38372093
@kevinzakka
kevinzakka / data_loader.py
Last active April 19, 2024 23:42
Train, Validation and Test Split for torchvision Datasets
"""
Create train, valid, test iterators for CIFAR-10 [1].
Easily extended to MNIST, CIFAR-100 and Imagenet.
[1]: https://discuss.pytorch.org/t/feedback-on-pytorch-for-kaggle-competitions/2252/4
"""
import torch
import numpy as np
@naotokui
naotokui / GAN-and-trainable.py
Last active October 14, 2021 19:46
How model.trainable = False works in keras (GAN model)
# coding: utf8
## based on this article: http://qiita.com/mokemokechicken/items/937a82cfdc31e9a6ca12
import numpy as np
from keras.models import Sequential
from keras.engine.topology import Input, Container
from keras.engine.training import Model
from keras.layers.core import Dense
@felixgwu
felixgwu / fc_densenet.py
Created April 2, 2017 05:22
FC-DenseNet Implementation in PyTorch
import torch
from torch import nn
__all__ = ['FCDenseNet', 'fcdensenet_tiny', 'fcdensenet56_nodrop',
'fcdensenet56', 'fcdensenet67', 'fcdensenet103',
'fcdensenet103_nodrop']
class DenseBlock(nn.Module):
@vxgmichel
vxgmichel / monitoring.py
Created January 10, 2017 15:32
Command line interface for monitoring asyncio tasks
"""Command line interface for monitoring asyncio tasks."""
import os
import signal
import asyncio
import argparse
import traceback
import linecache
from itertools import count
@GaelVaroquaux
GaelVaroquaux / mutual_info.py
Last active June 18, 2023 12:25
Estimating entropy and mutual information with scikit-learn: visit https://github.com/mutualinfo/mutual_info
'''
Non-parametric computation of entropy and mutual-information
Adapted by G Varoquaux for code created by R Brette, itself
from several papers (see in the code).
This code is maintained at https://github.com/mutualinfo/mutual_info
Please download the latest code there, to have improvements and
bug fixes.