You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/user/lhh/Lenna-main/Lenna-main/chat.py", line 138, in
main(sys.argv[1:])
File "/home/user/lhh/Lenna-main/Lenna-main/chat.py", line 51, in main
param[1].data = trained_weight[save_name]
RuntimeError: Attempted to call variable.set_data(tensor), but variable and tensor have incompatible tensor type.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/user/lhh/Lenna-main/Lenna-main/chat.py", line 138, in
main(sys.argv[1:])
File "/home/user/lhh/Lenna-main/Lenna-main/chat.py", line 51, in main
param[1].data = trained_weight[save_name]
RuntimeError: Attempted to call
variable.set_data(tensor)
, butvariable
andtensor
have incompatible tensor type.The text was updated successfully, but these errors were encountered: