GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Document 2.5.1 checkpoint and seed behavior · cslht11/diffct@7033a28

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • diffct
    • geometry.py
  • docs
    • EXECUTION.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎diffct/geometry.py‎

Copy file name to clipboardExpand all lines: diffct/geometry.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ def random_trajectory_3d(n_views, sid_mean, sdd_mean, sid_std=0.0, pos_std=0.0,
251251
dtype : torch.dtype, optional
252252
Data type for tensors (default: torch.float32).
253253
seed : int, optional
254-
Random seed for reproducibility (default: None).
254+
Random seed for reproducibility (default: None). The noise comes from
255+
a private generator, so the global PyTorch random state is unchanged.
255256
256257
Returns
257258
-------
Collapse file

‎docs/EXECUTION.md‎

Copy file name to clipboardExpand all lines: docs/EXECUTION.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ are checked for finite values in bounded blocks before creating the workspace
301301
or writing the output; every rank agrees on admission before execution.
302302

303303
Checkpoint paths are `step-000002/rank-00000/metadata.json`, for example.
304+
Saving never replaces a step: when the rank directory of a step already
305+
exists, the solve raises a `ValueError` and leaves the saved checkpoint
306+
unchanged. Use a new `checkpoint_directory` for a new solve.
304307
Resume from the corresponding rank directory using `resume=...`; `iterations`
305308
is the total target, including saved steps. Complete CGLS/SIRT/Adam state and
306309
residual history are restored. Fingerprints bind the acquisition, measurements,

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.