Make execution reproducible #24

Open
opened 2024-03-28 13:11:46 +01:00 by Benjamin_Loison · 3 comments
np.random.seed(0)

https://numpy.org/doc/1.26/reference/random/generated/numpy.random.seed.html

return np.random.normal(loc = 0, scale = scale, size = IMAGE_SIZE_SHAPE)

Related to Benjamin-Loison/xournalpp/issues/25.

```py np.random.seed(0) ``` https://numpy.org/doc/1.26/reference/random/generated/numpy.random.seed.html https://gitea.lemnoslife.com/Benjamin_Loison/Robust_image_source_identification_on_modern_smartphones/src/commit/d716574973e33b243dba47b34d9ad654b1409bc8/datasets/fake/generate_dataset.py#L26 Related to [Benjamin-Loison/xournalpp/issues/25](https://github.com/Benjamin-Loison/xournalpp/issues/25).
Benjamin_Loison added the
enhancement
low priority
quick
labels 2024-03-28 13:12:05 +01:00
Author
Owner
~~WebArchive issue for https://gitea.lemnoslife.com/Benjamin_Loison/Robust_image_source_identification_on_modern_smartphones/src/commit/4d267bf540350534ddbf8443643f5de18ef8c1b1/articles/Positional%20Learning%20Quentin%20Bammey/Positional%20Learning%20Quentin%20Bammey.pdf.txt~~
Author
Owner
Related to [Benjamin_Loison/python-remotezip/issues/1](https://codeberg.org/Benjamin_Loison/python-remotezip/issues/1).
Author
Owner

Verify articles sources to only be permanent links.

Verify articles sources to only be *permanent* links.
Sign in to join this conversation.
No description provided.