Skip to content

Instantly share code, notes, and snippets.

View JacHammer's full-sized avatar
☄️

Minci Zhou JacHammer

☄️
View GitHub Profile
# modified from https://gist.github.com/morgangiraud/249505f540a5e53a48b0c1a869d370bf
# 2020-02-21
import os, argparse
import tensorflow as tf
# The original freeze_graph function
# from tensorflow.python.tools.freeze_graph import freeze_graph
dir = os.path.dirname(os.path.realpath(__file__))
import sys
import requests
import xml.etree.ElementTree as ET
auth_url = "https://authdl.my.com/mygc.php?hint=Auth"
header = {
'Host': 'authdl.my.com',
'Accept':'*/*',
'Content-type': 'application/x-www-form-urlencoded',
'User-Agent':'Downloader/15170',