Skip to content

Instantly share code, notes, and snippets.

View xmfbit's full-sized avatar

xmfbit xmfbit

  • Bytedance
  • Beijing,China
View GitHub Profile
name: "fit_net"
layer {
name: "data"
type: "WindowPartitionData"
top: "data"
top: "param"
top: "label"
top: "mask"
param_data_param {
source: "/home/[email protected]/exp/lane_fit/data/train_list.txt"
@xmfbit
xmfbit / ResNet-50-test.proto
Created July 5, 2016 13:12
proto file for R-FCN using ResNet-50
name: "ResNet-50"
input: "data"
input_dim: 1
input_dim: 3
input_dim: 224
input_dim: 224
input: "rois"
input_dim: 1 # to be changed on-the-fly to num ROIs
@xmfbit
xmfbit / Karger_mincut_demo.cpp
Last active July 3, 2016 13:39
This is a demo for Karger's algorithm for graph min cut inspired by [Geeksforgeeks](http://www.geeksforgeeks.org/kargers-algorithm-for-minimum-cut-set-1-introduction-and-implementation/) and [Coursera: Algorithm design and analysis by Stanford University](https://www.coursera.org/learn/algorithm-design-analysis/home/week/3)
#include <iostream>
#include <vector>
#include <fstream>
#include <iterator>
#include <string>
#include <set>
#include <cstdlib>
#include <ctime>
#include <sstream> // std::istringstream
#include <map>
#include <iostream>
int main() {
std::cout << "HelloWorld!" << std::endl;
return 0;
}