We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19eec23 commit 77835f7Copy full SHA for 77835f7
2 files changed
.pylintrc
@@ -449,7 +449,6 @@ disable=raw-checker-failed,
449
C0116,
450
C0114,
451
W0621,
452
- E0601,
453
W0718,
454
R0801
455
train.py
@@ -94,6 +94,8 @@ def training_step(
94
# update emb layer when using num tokenizer
95
path_sample = path.sample(x_0, x_1, t)
96
x_t = path_sample.x_t
97
+ else:
98
+ x_t = None
99
100
# text_token_mask==1 ==> generated text token
101
x_t = x_t * data_info['text_token_mask'] + x_1 * (1 - data_info['text_token_mask'])
0 commit comments