-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write out raw bytes, not human-readable u8 arrays. (#6)
* Read and write raw JSON. Include dummy images of v2 & v3 dimensions * Ran cargo fmt * Fixed all clippy warnings --------- Co-authored-by: Ryan Cao <[email protected]>
- Loading branch information
1 parent
296e462
commit f132bcd
Showing
15 changed files
with
67 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*commitment*.bin | ||
*blinding_factors*.bin |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
cargo build --release | ||
cargo run --release --bin hyrax_commit -- \ | ||
--input-image-filepath e2etesting/image-example.json \ | ||
--output-commitment-filepath e2etesting/commitment-iris-image-example.json \ | ||
--output-blinding-factors-filepath e2etesting/blinding-factors-iris-image-example.json \ | ||
for suffix in "" "_resized"; do | ||
for type in "image" "mask"; do | ||
cargo run --release --bin hyrax_commit -- \ | ||
--input-image-filepath dummy-data/left_normalized_${type}${suffix}.bin \ | ||
--output-commitment-filepath dummy-data/left_normalized_${type}_commitment${suffix}.bin \ | ||
--output-blinding-factors-filepath dummy-data/left_normalized_${type}_blinding_factors${suffix}.bin | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters