Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2b4be78

Browse files
committed
[Fix] device error
1 parent 305a910 commit 2b4be78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎train.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def main() -> None:
5353
predicts = []
5454
targets = []
5555
for inputs, labels in tqdm(val_dataloader):
56-
# inputs_all_labels = create_test_data(inputs).to(device)
57-
56+
inputs = inputs.to(device)
5857
predict = model.predict(inputs)
5958

6059
predicts.extend(predict.tolist())

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /