ms903 commited on
Commit
223f967
1 Parent(s): 2bec0b1

Upload dict.py

Browse files
Files changed (1) hide show
  1. dict.py +13 -0
dict.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+
3
+ a = np.load("pitch_aug_dict1.npy", allow_pickle=True).item()
4
+
5
+ b = np.load("pitch_aug_dict2.npy", allow_pickle=True).item()
6
+
7
+ #with open('val_dict2.txt','a') as file0:
8
+ #print( a ,file=file0)
9
+
10
+ a.update(b)
11
+
12
+ np.save('merge.npy',a)
13
+