https://github.com/ShikamaruZhang/MANN
Tip revision: cb51d5470fa5a860525bdc9c26b8c6996e4c46b5 authored by HE ZHANG on 20 May 2018, 14:53:50 UTC
mann
mann
Tip revision: cb51d54
main_dog.py
import numpy as np
import tensorflow as tf
from MANN import MANN
num_joints = 27
num_styles = 6
datapath = './data/Data.txt'
savepath = './dog'
num_experts = 8
def main():
rng = np.random.RandomState(23456)
sess = tf.Session()
mann = MANN(num_joints,
num_styles,
rng,
sess,
datapath, savepath,
num_experts,
hidden_size = 512,
hidden_size_gt = 32,
feetJoints = [10, 15, 19, 23],
batch_size = 32 , epoch = 150, Te = 10, Tmult =2,
learning_rate_ini = 0.0001, weightDecay_ini = 0.0025, keep_prob_ini = 0.7)
mann.build_model()
mann.train()
if __name__ =='__main__':
main()