Created
June 20, 2019 19:48
-
-
Save sbalnojan/3eb5d8ca4a32a32f8422efe7d016a3dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from torchbiggraph.config import parse_config | |
import attr | |
train_config = parse_config(CONFIG_PATH) | |
train_path = [convert_path(os.path.join(DATA_DIR, FILENAMES['train']))] | |
train_config = attr.evolve(train_config, edge_paths=train_path) | |
from torchbiggraph.train import train | |
train(train_config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment