Skip to content

Instantly share code, notes, and snippets.

@GymbylCoding
GymbylCoding / Perspective
Last active Dec 16, 2021
Perspective Virtual Camera System
View Perspective
Perspective Virtual Camera System
Licensed under the MIT license, which basically means you can do anything you want with it.
@lachlanhurst
lachlanhurst / build-gdal-combined-lib.sh
Last active May 14, 2021 — forked from JesseCrocker/build-gdal-combined-lib.sh
Script for building GDAL for iOS and the iOS simulators
View build-gdal-combined-lib.sh
#!/bin/bash
PREFIX=`pwd`/install/
rm -rf $PREFIX
mkdir $PREFIX
LOG=./log
rm -rf $LOG
mkdir $LOG
if [ -e ${PREFIX} ]
then
@kendricktan
kendricktan / capsule_networks.py
Last active Aug 17, 2021
Clean Code for Capsule Networks
View capsule_networks.py
"""
Dynamic Routing Between Capsules
https://arxiv.org/abs/1710.09829
"""
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torchvision.transforms as transforms