Open caglaacun opened 4 years ago
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
this error occurs if you use "pip install torchfm" try to replace the local package "torchfm" with the corresponding files from this repository
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!
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'