Skip to content

Instantly share code, notes, and snippets.

View PENGZhaoqing's full-sized avatar

彭兆卿 PENGZhaoqing

View GitHub Profile
@PENGZhaoqing
PENGZhaoqing / output_log.txt
Last active February 21, 2021 16:20
output_log.txt
Log uploaded on Monday, February 22, 2021, 12:13:12 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.0.4.0]: 0Harmony(2.0.2), HarmonyMod(1.0.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
CM Color Coded Mood Bar [1.1+](CrashM.ColorCodedMoodBar.11): 0Harmony(av:2.0.2,fv:2.0.0.8), 1SettingsHelper(av:0.19.1.36477,fv:0.19.1), ClassLibrary(0.0.0)
Pick Up And Haul (Continued)(Mlie.PickUpAndHaul)[mv:1.0.6.0]: IHoldMultipleThings(av:0.1.0,fv:1.0.0), PickUpAndHaul(av:0.1.0.5,fv:0.1.1)
Share The Load(Uuugggg.ShareTheLoad): Share_The_Load(1.0.0)
DermalRegenerator(rselbo.dermalregenerator.1.0.0): DermalRegenerator(1.0.0.1)
More Trade Ships(PinoChemicali.MoreTradeShips): (no assemblies)
def build(self):
"""
Builds the full Keras model and stores it in self.model.
"""
mc = self.config.model
in_x = x = Input((1, 12, 54))
x = Flatten(name='initial_flatten')(x)
x = Dense(1024,activation='relu')(x)
@PENGZhaoqing
PENGZhaoqing / .vimrc
Created July 13, 2018 08:29
vim conf
syntax on
" 语法高亮
autocmd InsertLeave * se nocul
autocmd InsertEnter * se cul
" 用浅色高亮当前行
set smartindent
" 智能对齐
from sklearn import datasets
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
from numpy.linalg import inv
iris = datasets.load_iris()
X = iris.data[:100, :]
y = iris.target[:100].reshape((100, -1))
@PENGZhaoqing
PENGZhaoqing / mxnet_loss.py
Last active November 9, 2017 03:09
Mxnet manually gradients computation Vs. Graph loss symbol auto computation
import mxnet as mx
import numpy as np
import mxnet.ndarray as nd
fc1_weight = [[0.58294852, 0.42608512, 0.96363545, 0.24708573],
[0.4417113, 0.10523346, 0.80098576, 0.46849809],
[0.08320606, 0.02893325, 0.55576215, 0.52159727],
[0.675476, 0.84439869, 0.1482909, 0.26626008],
[0.52650772, 0.07457639, 0.44785518, 0.71549555],
[0.52523266, 0.19377938, 0.02757852, 0.97459566],