😶🌫️
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
MUL32 PROC NEAR | |
;*************************************************************** | |
; 32 bit multiplication routine | |
; multiplies DX:AX x CX:BX | |
; returns 64 bit product in DX:AX:CX:BX | |
;*************************************************************** | |
PUSH SI | |
PUSH DI |
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 numpy as np | |
from keras.utils import np_utils | |
# 导入测试标签 | |
y_label = [] | |
with open('label.txt', 'r') as label_file: | |
y_label = label_file.read().split() | |
print(y_label) | |
y_label_new = ''.join(y_label) |
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 os | |
all_file = [] | |
def file_name(path): | |
for file_name in os.listdir(path): | |
all_file.append(file_name) | |
path = 'test/' | |
file_name(path) |
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
" 设置状态行显示常用信息 | |
" %F 完整文件路径名 | |
" %m 当前缓冲被修改标记 | |
" %m 当前缓冲只读标记 | |
" %h 帮助缓冲标记 | |
" %w 预览缓冲标记 | |
" %Y 文件类型 | |
" %b ASCII值 | |
" %B 十六进制值 | |
" %l 行数 |
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
#!/usr/bin/env python | |
import os | |
import tensorflow as tf | |
import keras.backend.tensorflow_backend as KTF | |
import numpy as np | |
from keras.layers import Dense, GlobalAveragePooling2D | |
from keras.models import Model | |
from keras.optimizers import Adam | |
from keras.preprocessing import image |
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
/************************************************** | |
说明: | |
1:我们建议你通过只改变css的方式来制作新的皮肤模板。当然,页面的部分代 | |
码你也是可以更改的,例如一些图片的地址。但是,请你在递交作品的时候,请同时 | |
提交对页面部分代码的修改备注和说明。以便我们了解。 | |
2:为了保证页面的兼容性,请你分别在IE和Firefox中分别查看你的页面,以便保证页面 | |
对浏览器的兼容性。 | |
3:请你随时关注官方网站。以便获得最新的通知和说明 | |
时间:2008-1-30 | |
作者:杨正祎 |
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
# -*- coding:YTF-8 -*- | |
import sys | |
type = sys.getfilesystemencoding() | |
... | |
decode('UTF-8').encode(type) |
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
# -*- coding:YTF-8 -*- | |
import sys | |
type = sys.getfilesystemencoding() | |
... | |
decode('UTF-8').encode(type) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
from torch.nn.modules.utils import _pair, _quadruple | |
class MedianPool2d(nn.Module): | |
""" Median pool (usable as median filter when stride=1) module. | |
Args: |
OlderNewer