ChangChrisLiu commited on
Commit
a8a5355
·
verified ·
1 Parent(s): 07753ec

Add verified graph dataloader example

Browse files
Files changed (1) hide show
  1. loaders/gwam_graph_dataloader.py +2 -2
loaders/gwam_graph_dataloader.py CHANGED
@@ -6,8 +6,8 @@ view_evidence, visual features, and edge records can all share the same storage
6
  slot id. That 256-slot axis is only a storage/alignment convention. This loader
7
  drops inactive padded slots and returns a ragged graph with N_real active nodes.
8
 
9
- The raw node_state channel 1 (`family_idx`) is categorical. The loader never
10
- feeds it as a continuous scalar feature. Use `family_encoding="onehot"` for a
11
  fixed 10-D one-hot block, or `family_encoding="embedding_placeholder"` to return
12
  integer family ids separately for a model-side nn.Embedding.
13
  """
 
6
  slot id. That 256-slot axis is only a storage/alignment convention. This loader
7
  drops inactive padded slots and returns a ragged graph with N_real active nodes.
8
 
9
+ The raw node_state channel 1 (`family_idx`) is categorical. Never feed raw
10
+ family_idx as a continuous scalar feature. Use `family_encoding="onehot"` for a
11
  fixed 10-D one-hot block, or `family_encoding="embedding_placeholder"` to return
12
  integer family ids separately for a model-side nn.Embedding.
13
  """