pppoe / WhatsThis-iOS

MXNet WhatThis Example for iOS
MIT License
112 stars 25 forks source link

Tutorial to add own model #2

Open jaympatel1893 opened 8 years ago

jaympatel1893 commented 8 years ago

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.

pppoe commented 8 years ago

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