forked fromfacebookresearch/fastText
- Notifications
You must be signed in to change notification settings - Fork1
Commit431c9e2
Print error message for invalid pretrained model files
Summary: Print an error message for invalid pretrained models (i.e. non quantized models which have a pruneidx_idx_ field different than -1).Reviewed By: cpuhrschDifferential Revision: D6097450fbshipit-source-id: 203d1eeab03a3f8acb59926daa5ae2f54b7f236b1 parentebbd3bf commit431c9e2
2 files changed
+10
-1
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
| 107 | + | |
107 | 108 |
| |
108 | 109 |
| |
109 | 110 |
| |
|
Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
174 | 181 |
| |
175 | 182 |
| |
176 | 183 |
| |
| |||
221 | 228 |
| |
222 | 229 |
| |
223 | 230 |
| |
224 |
| - | |
| 231 | + | |
| 232 | + | |
225 | 233 |
| |
226 | 234 |
| |
227 | 235 |
| |
|
0 commit comments
Comments
(0)