Seanlinx / mtcnn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to save the trained model

peyer opened this issue · comments

commented

If I want to save the pnet/rnet/onet model , should I add mod.save(...) after mod.fit(...) in train.py?

No, it's done in epoch end callback inside mod.fit()

commented

thanks a lot

commented

I'm sorry , but when I train the pnet again using your gen_pnet_data.py and lr = 0.01 , the output become nan again . I feel so bad .

@peyer can you share me the blog about how to train the Mtcnn.

@peyer Hi, I am new in mxnet, and I want to retrain P and R and net on the dataset of wider face. I had run transform.py to get anno.txt, then run gen_pnet_data.py and gen_hard_example.py, what should I do next? run train_P_net.py ? could you please tell me the whole step of training?