Skip to content

Commit

Permalink
Update scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnqu committed Jul 30, 2021
1 parent 69aafd4 commit 318d1f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions codes/extra/core/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .base import _MetaContainer, Registry, Configurable
4 changes: 4 additions & 0 deletions codes/extra/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .io import input_choice, literal_eval
from .file import download, extract, compute_md5, get_line_count
from .torch import cpu, cuda
from . import pretty
2 changes: 1 addition & 1 deletion codes/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Example:
The script will train a separate model for each relation in range(start, total number of relations, hop).
DATA_DIR = "../data/kinship_325"
DATA_DIR = "../data/kinship"
OUTPUT_DIR = "./workspace"
write_log_to_console = True
start = 0
Expand Down

0 comments on commit 318d1f5

Please sign in to comment.