Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/DiffusionNFT
/ functions
Functions
148 in github.com/NVlabs/DiffusionNFT
⨍
Functions
148
◇
Types & classes
18
Method
__init__
(self, dtype, device)
flow_grpo/aesthetic_scorer.py:32
Method
__init__
OCR reward calculator :param use_gpu: Whether to use GPU acceleration for PaddleOCR
flow_grpo/ocr.py:10
Method
__init__
(self, device="cuda", dtype=torch.float32)
flow_grpo/imagereward_scorer.py:8
Method
__init__
(self, device)
flow_grpo/clip_scorer.py:34
Method
__init__
(self, device="cuda", dtype=torch.float32)
flow_grpo/pickscore_scorer.py:7
Method
__init__
(self, image: Image.Image, objects)
flow_grpo/gen_eval.py:77
Method
__iter__
(self)
scripts/train_nft_sd3.py:134
Method
__len__
(self)
scripts/evaluation.py:66
Method
__len__
(self)
scripts/evaluation.py:82
Method
__len__
(self)
scripts/train_nft_sd3.py:85
Method
__len__
(self)
scripts/train_nft_sd3.py:105
Method
__len__
(self)
flow_grpo/gen_eval.py:86
Method
__post_init__
(self)
flow_grpo/diffusers_patch/solver.py:194
Function
_fn
(images, prompts, metadata)
flow_grpo/rewards.py:9
Function
aesthetic_score
(device)
flow_grpo/rewards.py:33
Function
clip_score
(device)
flow_grpo/rewards.py:50
Function
collate_fn
(examples)
scripts/evaluation.py:89
Method
collate_fn
(examples)
scripts/train_nft_sd3.py:92
Method
collate_fn
(examples)
scripts/train_nft_sd3.py:112
Function
counting
(nouns_file, low, high)
flow_grpo/prompts.py:68
Method
forward
(self, img)
flow_grpo/hpsv2_scorer.py:26
Method
forward
(self, tensor)
flow_grpo/hpsv2_scorer.py:47
Method
forward
(self, embed)
flow_grpo/aesthetic_scorer.py:27
Function
general_ocr
()
flow_grpo/prompts.py:49
Function
geneval_score
(device)
flow_grpo/rewards.py:113
Function
get_config
(name)
config/nft.py:7
Function
get_config
()
config/base.py:4
Function
hpsv2_score
(device)
flow_grpo/rewards.py:65
Function
imagenet_all
()
flow_grpo/prompts.py:33
Function
imagenet_animals
()
flow_grpo/prompts.py:37
Function
imagenet_dogs
()
flow_grpo/prompts.py:41
Function
imagereward_score
(device)
flow_grpo/rewards.py:96
Function
jpeg_compressibility
()
flow_grpo/rewards.py:23
Function
main
(_)
scripts/train_nft_sd3.py:356
Function
nouns_activities
(nouns_file, activities_file)
flow_grpo/prompts.py:62
Function
ocr_score
(device)
flow_grpo/rewards.py:163
Function
pickscore_score
(device)
flow_grpo/rewards.py:80
Function
sd3_geneval
()
config/nft.py:82
Function
sd3_hpsv2
()
config/nft.py:112
Function
sd3_multi_reward
()
config/nft.py:122
Function
sd3_ocr
()
config/nft.py:70
Function
sd3_pickscore
()
config/nft.py:97
Function
simple_animals
()
flow_grpo/prompts.py:45
Function
simple_ocr_animals
()
flow_grpo/prompts.py:53
Method
sync_with_model
Force the EMA parameters to be a direct copy of the given model parameters. This is used to create a snapshot for the rollout policy.
flow_grpo/ema.py:55
Function
timed
(fn)
flow_grpo/gen_eval.py:24
Function
unifiedreward_score_sglang
(device)
flow_grpo/rewards.py:179
Function
wrapper
(*args, **kwargs)
flow_grpo/gen_eval.py:25
← previous
101–148 of 148, ranked by callers