-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
when I run googlenet_train.py,when it comes to Epoch 0 batch 781,the result is
Epoch 0 batch 780
Epoch 0 batch 781
Traceback (most recent call last):
File "D:\论文\语义通信github\SemantIC Semantic Interference Cancellation Towards 6G Wireless Communications\SemantIC-main\googlenet_train.py", line 235, in
train(net, train_data, test_data, 20, optimizer, criterion)
File "D:\论文\语义通信github\SemantIC Semantic Interference Cancellation Towards 6G Wireless Communications\SemantIC-main\googlenet_train.py", line 212, in train
im = Variable(im, require_grad=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'require_grad' is an invalid keyword argument for this function
Metadata
Metadata
Assignees
Labels
No labels