-
Notifications
You must be signed in to change notification settings - Fork 1
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
Simplify run.py
πββοΈ
#308
Conversation
Check out this pull request onΒ See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
||
return target_list, subgraph_dataset | ||
# Create a transform function with frozen arguments: | ||
check_and_chop_partial = partial( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find the name of this function a bit confusing, it is not very clear to what is happening here. As is in the main run.py scrip maybe we should add more comments to explain what is happening?
store_permanently: bool = False, | ||
extractor_fn: str | Path = None, | ||
): | ||
# Check if datasets are ready for training: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar as described for run.py maybe add some docstring description of what these functions are about?
Question: If I already have the graph attributes saved in my graph but I want to update them I should also set: In that case some suggestions:
|
After some offline discussions & design re-consideration, this PR lost on value as the issues can be approached differently, without needing to store the |
PR contribution summary
Why is this PR useful / good for? Please describe the problem(s) you're trying to address.
train
,valid
andinfer
datasetsList of proposed changes / linked issues & discussions
What should a reviewer concentrate their feedback on?
run.py
What type of PR is this? (check all applicable)
Added tests?
test_run.py
to failHints for the reviewer:
At review time, please try a bunch of files which do not have the node features & edge properties in them.
Set the
store_graph_attributes_permanently
config hyperparameter toFalse
πwhich should throw an error & instructions on what to do. Please follow the instructions until you get to the point where you can successfully train your model π
PR review summary
Describe what this PR does & how you reviewed the individual items, where needed:
Some helper checks to tick off:
In conclusion, after my review, I'd like to: