Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. /// <summary>
  2. /// The application class
  3. /// </summary>
  4. class Program
  5. {
  6. /// <summary>
  7. /// The main application entry point.
  8. /// </summary>
  9. /// <param name="args">The command line arguments></param>
  10. static void Main(string[] args)
  11. {
  12. // create a machine learning context
  13. var mlContext = new MLContext();
  14.  
  15. // load the TSV file with image names and corresponding labels
  16. var data = mlContext.Data.LoadFromTextFile<ImageNetData>("images/tags.tsv", hasHeader: true);
  17.  
  18. // the rest of the code goes here....
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement