Skip to content

Instantly share code, notes, and snippets.

Download Google Drive files with WGET
Example Google Drive download link:
https://docs.google.com/open?id=[ID]
To download the file with WGET you need to use this link:
https://googledrive.com/host/[ID]
Example WGET command:
@zychen423
zychen423 / Submitting-to-arXiv.md
Created July 11, 2019 07:42 — forked from joe32140/Submitting-to-arXiv.md
Note for submitting papers to arXiv
  • add \pdfoutput=1 in first 5 lines
  • do not upload your .bib file, try .bll instead
  • if your are using overleaf, after compiling, go to log and download .bbl file. Example Here
    the file name of .bbl must be the same as your main tex
@zychen423
zychen423 / model.py
Created August 6, 2018 08:41
My modified version model.py
import os
import time
import math
import random
import numpy as np
import tensorflow as tf
from utils import add_gradient_noise,zero_nil_slot,MatrixCos,position_encoding, ScoreRank
class IRN(object):
def __init__(self, config, sess):