Commit 400a49c
random sample from set
Summary: Starting Python 3.11, the random.sample population must be a sequence, and no longer auto-converts sets to lists. Fix bug in the d2 dataloader by convert set to list first
Differential Revision: D72924685
fbshipit-source-id: bc6328158980da94e597ef7abfe5e8e241ecab4a1 parent 9604f59 commit 400a49c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments