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

shape invalid #10

Open
SpaceZore opened this issue Dec 20, 2020 · 0 comments
Open

shape invalid #10

SpaceZore opened this issue Dec 20, 2020 · 0 comments

Comments

@SpaceZore
Copy link

When running fm and cofm models, no matter how you adjust the parameters, there is always an error "RuntimeError: invalid argument 2: size'[1024 x 1024]' is invalid for input with 1024 elements at ..\src\TH\THStorage.c: 41"
My pytorch version is 0.4.0 and the python version is 3.6
The parameters are
python run_item_recommendation.py -rec_test_files valid.dat:test.dat -l2_lambda 1e-5 -negtive_samples 1 -model_type fm -dataset dbbook2014 -batch_size 1024 -embedding_size 100 -learning_rate 0.1 -topn 10 -seed 3 -eval_training_steps 50000 -interval_steps 50000 -early_stopping_steps_to_wait 2500 -optimizer_type Adam
image

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