diff --git a/README.md b/README.md index e24b6ce..88ba424 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ For Linux users: $ sudo apt-get install swi-prolog ``` -For Windows and Mac users, please refer to the [Swi-Prolog Download Page](https://www.swi-prolog.org/Download.html). +For Windows and Mac users, please refer to the [Swi-Prolog Install Guide](https://github.com/yuce/pyswip/blob/master/INSTALL.md). ## Examples diff --git a/abl/learning/basic_nn.py b/abl/learning/basic_nn.py index 0a346e5..e1f1ccb 100644 --- a/abl/learning/basic_nn.py +++ b/abl/learning/basic_nn.py @@ -66,9 +66,9 @@ class BasicNN: num_workers: int = 0, save_interval: Optional[int] = None, save_dir: Optional[str] = None, - train_transform: Callable[..., Any] = None, - test_transform: Callable[..., Any] = None, - collate_fn: Callable[[List[Any]], Any] = None, + train_transform: Optional[Callable[..., Any]] = None, + test_transform: Optional[Callable[..., Any]] = None, + collate_fn: Optional[Callable[[List[Any]], Any]] = None, ) -> None: if not isinstance(model, torch.nn.Module): raise TypeError("model must be an instance of torch.nn.Module") diff --git a/docs/Overview/Installation.rst b/docs/Overview/Installation.rst index 78b664f..ecabd0e 100644 --- a/docs/Overview/Installation.rst +++ b/docs/Overview/Installation.rst @@ -31,4 +31,4 @@ For Linux users: $ sudo apt-get install swi-prolog -For Windows and Mac users, please refer to the `Swi-Prolog Download Page `_. \ No newline at end of file +For Windows and Mac users, please refer to the `Swi-Prolog Install Guide `_. \ No newline at end of file diff --git a/docs/README.rst b/docs/README.rst index 09280d0..c83deae 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -51,7 +51,7 @@ For Linux users: $ sudo apt-get install swi-prolog -For Windows and Mac users, please refer to the `Swi-Prolog Download Page `_. +For Windows and Mac users, please refer to the `Swi-Prolog Install Guide `_. References ---------- diff --git a/pyproject.toml b/pyproject.toml index 478d82b..1459133 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "abl" version = "0.1.4" authors = [ - { name="LAMDA 2023" }, + { name="LAMDA 2024" }, ] description = "Abductive learning package project" readme = "README.md"