Open GiuliaGualtieri opened 5 days ago
I got a SyntaxError while executing the tutorial 02-Model-Training-Experiment.ipynb
02-Model-Training-Experiment.ipynb
from utils import dump_model File ~/syft-heart-disease-tutorial/utils.py:31 return f"{datasite_name.replace(".", "").replace(" ", "_").lower()}_model.jbl" ^ SyntaxError: f-string: unmatched '('
No errors. My suggested solution: replace
def get_model_file(datasite_name: str) -> str: return f"{datasite_name.replace(".", "").replace(" ", "_").lower()}_model.jbl"
with the following code
def get_model_file(datasite_name: str) -> str: return f"{datasite_name.replace('.', '').replace(' ', '_').lower()}_model.jbl"
just ran into the same with the same solution. It's also in the 01-Compare-Demographics notebook.
Description
I got a SyntaxError while executing the tutorial
02-Model-Training-Experiment.ipynb
How to Reproduce
02-Model-Training-Experiment.ipynb
Expected Behavior
No errors. My suggested solution: replace
with the following code
System Information