Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
7a36a482
Commit
7a36a482
authored
Nov 25, 2023
by
Gordian Edenhofer
Browse files
Options
Downloads
Patches
Plain Diff
demos/nifty_re: Showcase updating sample_instruction
parent
b1b3f26d
No related branches found
No related tags found
1 merge request
!892
Revamp OptimizeVI and optimize_kl
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
demos/nifty_re.py
+3
-1
3 additions, 1 deletion
demos/nifty_re.py
with
3 additions
and
1 deletion
demos/nifty_re.py
+
3
−
1
View file @
7a36a482
...
...
@@ -183,7 +183,9 @@ def n_samples_update(i):
def
sample_instruction_update
(
i
):
if
i
<
4
:
return
"
resample_mgvi
"
return
"
curve
"
key
,
subkey
=
random
.
split
(
key
)
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment