Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// The application class
- /// </summary>
- class Program
- {
- /// <summary>
- /// The main application entry point.
- /// </summary>
- /// <param name="args">The command line arguments></param>
- static void Main(string[] args)
- {
- // create a machine learning context
- var mlContext = new MLContext();
- // load the TSV file with image names and corresponding labels
- var data = mlContext.Data.LoadFromTextFile<ImageNetData>("images/tags.tsv", hasHeader: true);
- // the rest of the code goes here....
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement