Can I really train a model on anything?
You can certainly try! Our API is super flexible and it will allow you to teach our system to recognize a variety of concepts.
What is the easiest way to upload concepts into a model?
The typical workflow for Custom Training is to:
- Upload inputs (images) with or without associated Concepts to an application
- Add concepts to the inputs (either positive or negative), and
- Train a model based on that.
An Application contains inputs and models, so you only add inputs to an application and not to a model. When you add inputs to an application and assign concepts to them, a new model "train" operation will pick up on those new concepts. You never need to tell the model that new images are added because it's already tied to the application.
Can I use your public models as a base for my custom model?
Abso-custom-lutely! We just introduced Base Workflows and this will allow you to train a custom model on top of a few of our public ones, so check that out here.
When would I use a “closed environment”?
If you expect to run a trained model on images that do not contain any of the concepts in your model, then you should set closed_environment to false (the default). Else, it should be set to true. In laymen's terms, if there's a chance that your model will see uploads from images that aren't necessarily in your training set, keep this as false.
What are negatives and do I need them?
Negatives are essentially a way of telling our system what an image definitely is not. As a hypothetical example, in a Lion King model you'd probably want to assign "Scar" as a Negative to an image of "Simba" and vice versa.
You'll want to have a 3 or 4-to-1 ratio of positives to negatives for any given Concept if you can provide them. Negatives are not 100% necessary but they can definitely help with overall accuracy.
What does concepts_mutually_exclusive mean?
If you want to see more than one concept returned in the same image (e.g. Eiffel Tower, sky, croissant, etc.), then this should be set to false. Otherwise, if you're only looking for one to be returned (e.g. Samsung Galaxy Note 5), then set it to true because it’ll make the percentages more accurate.
Why is it telling me that "Model training had no positive examples"?
This is our system's way of telling you that one or more concepts in your model are essentially "zombies" and not tied to any inputs. Once a concept is added to a model it must be used - else the system will complain about it.
My results aren't as accurate as I'd like them to be. How do I make them better?
Well, that's a bummer! If your concepts aren't returning the accuracy you are desiring these actions may come to the rescue:
- Adding as many positive examples as possible from a variety of zooms, angles, and lighting sources. The more the merrier - and the smarter our system will be!
- Altering a concept's Positive to Negative ratio so that it is 3 or 4-to-1. You'll want to provide Negatives if you can, but adding too many will actually be counterproductive so be careful.
- Checking out our Model Evaluation tool in the Explorer UI to see where your model is failing. This can tell you which concepts are performing better than others and how good your model is performing in general.
Do I add concepts to models or to inputs first?
Either of these is actually ok. You can add concepts directly to a model or you can add them to inputs that are in the same Application as your Model. Just note that if any concepts exist in your model and are not tied to any inputs, you will receive this when you try to do a Train:
Why is the API telling me that my Model ID isn't found?
If you're getting this then it's likely that you just need to use the model name here instead (i.e. not the super long alpha-numeric string of characters but the actual name that you gave to the model). And if you're using it in a cURL call or other HTTP request, make sure to encode any spaces with %20.
Is there a limit to the number of custom models that I can have? And will I be charged more if I create a lot of them?
The sky is your limit here! We won't prohibit you from creating a lot of models and we'll only ever charge you per custom concept, not by the number of models that you have.