Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yc #10

Open
woshiwangzihao opened this issue Dec 9, 2024 · 1 comment
Open

yc #10

woshiwangzihao opened this issue Dec 9, 2024 · 1 comment

Comments

@woshiwangzihao
Copy link

No description provided.

@woshiwangzihao
Copy link
Author

请问yc数据集和ks数据集为什么会报错。
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)
DreamRec.py:495: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
seq = torch.LongTensor(seq)
DreamRec.py:497: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
target = torch.LongTensor(target)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant