-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
28 lines (26 loc) · 827 Bytes
/
Copy pathProgram.cs
File metadata and controls
28 lines (26 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
namespace TfConsoleApp
{
class Program
{
static void Main(string[] args)
{
HandleWriteTest test = new HandleWriteTest("./model/ckpt",
"./data/word_onehot.txt",
2675, 28, 32, 900);
List<string> imgList = new List<string>();
List<string> nameList = new List<string>();
for (int i = 0; i < 28; i++)
{
imgList.Add(string.Format("./samples/{0:5D}.jpg", (i + 32)));
nameList.Add(string.Format("{0:5D}", (i + 32)));
if ((i + 1) % 28 == 0)
{
var res = test.TestImg(imgList.ToArray());
}
}
Console.WriteLine("Hello World!");
}
}
}