This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |