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

ModuleNotFoundError: No module named 'torchfm.model.hofm' #26

Open
caglaacun opened this issue Aug 12, 2020 · 3 comments
Open

ModuleNotFoundError: No module named 'torchfm.model.hofm' #26

caglaacun opened this issue Aug 12, 2020 · 3 comments

Comments

@caglaacun
Copy link

When I run the main.py, I get the following error:

Traceback (most recent call last):
File "main.py", line 16, in
from torchfm.model.hofm import HighOrderFactorizationMachineModel
ModuleNotFoundError: No module named 'torchfm.model.hofm'

@BitHub00
Copy link

try add this in the head of the "main.py":
sys.path.append('/XXX/pytorch-fm'), where XXX is the directory you install pytorch-fm
refer to Stack Overflow

@Chrissie-Law
Copy link

this error occurs if you use "pip install torchfm"
try to replace the local package "torchfm" with the corresponding files from this repository

@caglaacun
Copy link
Author

this error occurs if you use "pip install torchfm" try to replace the local package "torchfm" with the corresponding files from this repository

Thank a lot!

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

3 participants