Skip to content

Commit a02c6b2

Browse files
fixing some bugs
1 parent 4c59ce5 commit a02c6b2

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

data_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
rows = 10000 if mode == "train" else rows
1818
rows = 100 if mode == "test" else rows
1919

20-
if(str(sys.argv[1]) == "custom"):
20+
if(len(sys.argv) > 1 and str(sys.argv[1]) == "custom"):
2121
mode = str(sys.argv[1])
2222
rows = int(sys.argv[2])
2323
samples = int(sys.argv[3])
@@ -77,7 +77,7 @@
7777
for i in range(3 * subdivision, 4 * subdivision):
7878
random_shift = np.random.uniform(-np.pi, np.pi)
7979
random_jump_location = np.random.randint(0, samples)
80-
random_jump_size = np.random.uniform(0.5, 1.5)
80+
random_jump_size = np.random.uniform(0.3, 1.5)
8181
random_flip = np.random.choice([-1, 1])
8282
random_jump_size *= random_flip
8383
random_shape = np.random.choice([1, 2])

tfmodel/fingerprint.pb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ă���������ѵ�����ㇷ������ ��Ɖ����_(�����ɽ��2
1+
�З�痸a��ѵ�����ㇷ������ ��Ɖ����_(��ը󙃒72

tfmodel/saved_model.pb

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tfmodel/variables/variables.index

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)