You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dataset.cs 396 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace TensorFlowNET.Examples.ImageProcessing.YOLO
  5. {
  6. public class Dataset
  7. {
  8. string annot_path;
  9. public int Length = 0;
  10. public Dataset(string dataset_type, Config cfg)
  11. {
  12. annot_path = dataset_type == "train" ? cfg.TRAIN.ANNOT_PATH : cfg.TEST.ANNOT_PATH;
  13. }
  14. }
  15. }