This file contains hidden or 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 xml.etree.ElementTree as ET | |
| import random | |
| import uuid | |
| import datetime | |
| import string | |
| from decimal import Decimal | |
| # 命名空间定义 | |
| NS = { | |
| 'xs': 'http://www.w3.org/2001/XMLSchema', |
This file contains hidden or 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 tensorflow as tf | |
| if not str(tf.__version__).startswith('1.15'): | |
| print('please use tensorflow 1.15') | |
| exit() | |
| from tensorflow.keras.models import Model | |
| from tensorflow.keras.layers import Input, Conv2D | |
| tf.enable_eager_execution() | |
| image_shape = (64,64,3) |
This file contains hidden or 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
| /* iPhone 6 Plus & iPad Air 2 media query (Retina HD displays). | |
| Also works for similar Android devices. */ | |
| /* Use x2 images by default. */ | |
| .logo { | |
| background-image: url(http://hellyeah.is/images/text-logo-ns@x2.png); | |
| height: 300px; | |
| width: 100%; | |
| background-size: contain; | |
| background-repeat: no-repeat; | |
| background-position: center; |