Skip to content

Instantly share code, notes, and snippets.

View fsodogandji's full-sized avatar

Fabrice Sodogandji fsodogandji

View GitHub Profile
@fsodogandji
fsodogandji / kfold_example.py
Created November 15, 2023 09:01 — forked from ashleve/kfold_example.py
Example of k-fold cross validation with PyTorch Lightning Datamodule
from pytorch_lightning import LightningDataModule
from torch_geometric.datasets import TUDataset
from torch_geometric.data import DataLoader
from sklearn.model_selection import KFold
class ProteinsKFoldDataModule(LightningDataModule):
def __init__(
self,
data_dir: str = "data/",
@fsodogandji
fsodogandji / GaussianMixture.ipynb
Created April 20, 2023 15:34 — forked from kiko-datasparq/GaussianMixture.ipynb
GaussianMixture_RealEstatePrices
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fsodogandji
fsodogandji / GaussianMixture.ipynb
Created April 20, 2023 15:34 — forked from kiko-datasparq/GaussianMixture.ipynb
GaussianMixture_RealEstatePrices
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fsodogandji
fsodogandji / README.md
Created February 3, 2022 14:25 — forked from ajxchapman/README.md
Install Windows on Digital Ocean droplet
@fsodogandji
fsodogandji / Aezakmi Fingerprints Filter
Created June 7, 2021 10:27 — forked from chelovekula/Aezakmi Fingerprints Filter
All possible combinations for creating prints in Aezakmi
This file has been truncated, but you can view the full file.
[{
"headers" : {
"browser" : {
"name" : "Chrome"
},
"os" : {
"name" : "Windows"
}
},
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
"""
Voici quelques infos sur le taf Gaz :
Toutes les informations ci-dessous sont confidentielles, je compte sur toi pour ne pas les diffuser.
@fsodogandji
fsodogandji / qemu_install_windows.sh
Last active September 26, 2023 17:53
qemu windows
#!/bin/bash
wget -c https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.185-2/virtio-win-0.1.185.iso
wget -c https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO
apt install -y software-properties-common
add-apt-repository multiverse
apt install -y qemu ovmf
#qemu-img create -f qcow2 windows_server_2016.qcow2 30G
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// opensimplexnoise code in another tab might be necessary
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
@fsodogandji
fsodogandji / pytorch_compilation.md
Last active March 13, 2017 20:26
pytorch osx compilation
  • OS 10.11.1 El Capitan
  • Python 2.7.13 :: Anaconda custom (x86_64)

$> /usr/bin/clang --version

Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
@fsodogandji
fsodogandji / Cats_vs_ Dogs_pytorch.py
Last active February 19, 2018 16:43
Unet Deeplearning pytorch
# from https://www.kaggle.com/nothxplz/dogs-vs-cats-redux-kernels-edition/cats-vs-dogs-05-pytorch-example/run/761413
from __future__ import print_function
import argparse
import csv
import os
import os.path
import shutil
import time