... | ... | @@ -59,6 +59,11 @@ sign0_ref = cc.get_signature('sign0', 'reference', 'A1.001') |
|
|
rnd = RNDuplicates()
|
|
|
rnd.remove(sign0_full.data_path)
|
|
|
rnd.save(sign0_ref.data_path)
|
|
|
f5 = h5py.File(sign0_full.data_path)
|
|
|
features = f5["features"][:]
|
|
|
f5.close()
|
|
|
with h5py.File(sign0_ref.data_path, 'a') as hf:
|
|
|
hf.create_dataset("features", data=features)
|
|
|
sign1_ref = cc.get_signature('sign1', 'reference', 'A1.001')
|
|
|
sign1_ref.fit(sign0_ref)
|
|
|
sign1_full = cc.get_signature('sign1', 'full', 'A1.001')
|
... | ... | |