Skip to content

Instantly share code, notes, and snippets.

View fengwang's full-sized avatar

feng wang fengwang

  • EMPA
  • Switzerland
View GitHub Profile
@mkocabas
mkocabas / coco.sh
Created April 9, 2018 09:41
Download COCO dataset. Run under 'datasets' directory.
mkdir coco
cd coco
mkdir images
cd images
wget http://images.cocodataset.org/zips/train2017.zip
wget http://images.cocodataset.org/zips/val2017.zip
wget http://images.cocodataset.org/zips/test2017.zip
wget http://images.cocodataset.org/zips/unlabeled2017.zip
@BAXTER001
BAXTER001 / repro.py
Last active March 25, 2019 19:09
Keras multi gpu duplicate model names
from keras.models import Model
from keras.layers import Input, Add
from keras.utils import multi_gpu_model
m_in = Input( shape=(1,) )
m_out1 = Add()([m_in,m_in])
m_out2 = m_in
m = Model( m_in, [m_out1,m_out2] )
x = Input( shape=(1,) )
@arslancharyev31
arslancharyev31 / C_v1.bnf
Created October 14, 2017 15:32
C .bnf grammar. Version 1.
{
tokens=[
space='regexp:\s+'
identifier='regexp:[a-zA-Z][a-zA-Z0-9_]*'
integer-constant='regexp:\d+'
character-constant='regexp:[a-zA-Z]'
floating-constant='regexp:[+-]?([0-9]*[.])?[0-9]+f'
enumeration-constant='regexp:[a-zA-Z][a-zA-Z0-9_]*' // Same as identifier
]
@cavinsmith
cavinsmith / nvidia.md
Last active February 9, 2025 18:03
Nvidia GPUs sorted by CUDA cores

List of desktop Nvidia GPUS ordered by CUDA core count

I created it for those who use Neural Style

Guys, please add your hardware setups, neural-style configs and results in comments!

GPU CUDA cores Memory Processor frequency
GeForce GTX TITAN Z 5760 12 GB 705 / 876