Browse Source

[DOC] Change swi-prolog url

pull/1/head
Tony-HYX 1 year ago
parent
commit
4cee48b80d
5 changed files with 7 additions and 7 deletions
  1. +1
    -1
      README.md
  2. +3
    -3
      abl/learning/basic_nn.py
  3. +1
    -1
      docs/Overview/Installation.rst
  4. +1
    -1
      docs/README.rst
  5. +1
    -1
      pyproject.toml

+ 1
- 1
README.md View File

@@ -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



+ 3
- 3
abl/learning/basic_nn.py View File

@@ -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")


+ 1
- 1
docs/Overview/Installation.rst View File

@@ -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 <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>`_.

+ 1
- 1
docs/README.rst View File

@@ -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 <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>`_.

References
----------


+ 1
- 1
pyproject.toml View File

@@ -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"


Loading…
Cancel
Save