WhatsThis-iOS
WhatsThis-iOS copied to clipboard
Tutorial to add own model
Hello, I have my own features and model parameters. What should be the changes in project?
I am looking forward to do face recognition.
Thank you.
Hi, you can modify the lines 81~84 in the file ViewController.mm
NSString *jsonPath = [[NSBundle mainBundle] pathForResource:@"Inception_BN-symbol.json" ofType:nil];
NSString *paramsPath = [[NSBundle mainBundle] pathForResource:@"Inception_BN-0039.params" ofType:nil];
NSString *meanPath = [[NSBundle mainBundle] pathForResource:@"mean_224.bin" ofType:nil];
NSString *synsetPath = [[NSBundle mainBundle] pathForResource:@"synset.txt" ofType:nil];
this repo is mainly used to show how to run the mxnet on iOS. For the usages of mxnet, you can refer to the mxnet documentation https://mxnet.readthedocs.org