Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
2448751c
Commit
2448751c
authored
Dec 14, 2019
by
naveen marri
Committed by
Zihao Ye
Dec 14, 2019
Browse files
Fixed the training file (#1109)
parent
d16fb3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/pytorch/recommendation/README.md
examples/pytorch/recommendation/README.md
+2
-2
No files found.
examples/pytorch/recommendation/README.md
View file @
2448751c
...
...
@@ -9,13 +9,13 @@ First, download and extract from https://dgl.ai.s3.us-east-2.amazonaws.com/datas
One can then run the following to train PinSage on MovieLens-1M:
```
bash
python3
tr
ain.py
--opt
Adam
--lr
1e-3
--sched
none
--sgd-switch
25
python3
m
ain.py
--opt
Adam
--lr
1e-3
--sched
none
--sgd-switch
25
```
One can also incorporate user and movie features into training:
```
bash
python3
tr
ain.py
--opt
Adam
--lr
1e-3
--sched
none
--sgd-switch
25
--use-feature
python3
m
ain.py
--opt
Adam
--lr
1e-3
--sched
none
--sgd-switch
25
--use-feature
```
Currently, performance of PinSage on MovieLens-1M has the best mean reciprocal rank of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment