原创 用pip批量安裝包

在配置集羣的時候,會遇到用pip安裝大量包的情況,下面是用pip批量安裝包的方法:首先,在已經配置好的一臺機器上,將需要的包導出到requirements.txtpip freeze > requirements.txt查看require

原创 GAN學習筆記:MMGAN:Manifold-Matching Generative Adversarial Network

一、主要思想 MMGAN的一個重要思想在於:數據可以分爲兩個不同的manifold:真實數據和生成數據。 那麼,訓練G的目標就是儘可能地match這兩個manifold。 在MMGAN中,不妨用球形來表示manifold,這樣,可以使用指

原创 TensorFlow學習筆記4:logistic迴歸

代碼來源: https://github.com/aymericdamien/TensorFlow-Examples/ ''' A logistic regression learning algorithm example using

原创 TensorFlow學習筆記3:線性迴歸

代碼來源:https://github.com/aymericdamien/TensorFlow-Examples/ ''' A linear regression learning algorithm example using Ten