Skip to content
Snippets Groups Projects
Commit 9d49942a authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Started accuracy quantification part

parent 942be790
No related branches found
No related tags found
No related merge requests found
......@@ -168,4 +168,11 @@ if __name__ == '__main__':
result_acc, _ = mod.infer(train_zstack_raw, train_zstack_mask)
write_accessor_data_to_file(where_patch_stack / 'result.tif', result_acc)
print(where_patch_stack / 'result.tif')
\ No newline at end of file
print(where_patch_stack / 'result.tif')
# write comparison
train_labels = generate_file_accessor(where_patch_stack / 'zstack_train_label.tif')
write_accessor_data_to_file(
where_patch_stack / 'comp.tif',
InMemoryDataAccessor(result_acc.data == train_labels.data)
)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment