Browse Source

Merge pull request #7 from AbductiveLearning/Dev

Pass actions and merge into main
main
Wen-Chao Hu GitHub 2 years ago
parent
commit
3201c62aee
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 8 deletions
  1. +2
    -1
      .github/workflows/build-and-test.yaml
  2. +1
    -1
      .gitignore
  3. +1
    -1
      README.md
  4. BIN
      docs/_static/img/logo.png
  5. +3
    -3
      examples/hwf/main.py
  6. +2
    -2
      pyproject.toml

+ 2
- 1
.github/workflows/build-and-test.yaml View File

@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2

@@ -24,6 +24,7 @@ jobs:
- uses: syphar/restore-virtualenv@v1
id: cache-virtualenv
with:
custom_cache_key_element: ABLkit
requirement_files: requirements.txt

- uses: syphar/restore-pip-download-cache@v1


+ 1
- 1
.gitignore View File

@@ -6,7 +6,7 @@ examples/**/*.png
*.ckpt
results
raw/
*.egg-info/
ablkit.egg-info/
examples/**/*.jpg
.idea/
build/

+ 1
- 1
README.md View File

@@ -1,6 +1,6 @@
<div align="center">

![ABLkit logo](https://raw.githubusercontent.com/AbductiveLearning/ABLkit/main/docs/_static/img/logo.png)
<img src="https://raw.githubusercontent.com/AbductiveLearning/ABLkit/main/docs/_static/img/logo.png" width="180">

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ablkit)](https://pypi.org/project/ablkit/) [![PyPI version](https://badgen.net/pypi/v/ablkit)](https://pypi.org/project/ablkit/) [![Documentation Status](https://readthedocs.org/projects/ablkit/badge/?version=latest)](https://ablkit.readthedocs.io/en/latest/?badge=latest) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/AbductiveLearning/ABLkit/blob/main/LICENSE) [![flake8 Lint](https://github.com/AbductiveLearning/ABLkit/actions/workflows/lint.yaml/badge.svg)](https://github.com/AbductiveLearning/ABLkit/actions/workflows/lint.yaml) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![ABLkit-CI](https://github.com/AbductiveLearning/ABLkit/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/AbductiveLearning/ABLkit/actions/workflows/build-and-test.yaml)



BIN
docs/_static/img/logo.png View File

Before After
Width: 200  |  Height: 193  |  Size: 22 kB Width: 801  |  Height: 773  |  Size: 172 kB

+ 3
- 3
examples/hwf/main.py View File

@@ -78,9 +78,9 @@ def main():
help="number of epochs in each learning loop iteration (default : 3)",
)
parser.add_argument(
"--label-smoothing",
type=float,
default=0.2,
"--label-smoothing",
type=float,
default=0.2,
help="label smoothing in cross entropy loss (default : 0.2)"
)
parser.add_argument(


+ 2
- 2
pyproject.toml View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "ablkit"
version = "0.2.1"
version = "0.2.2"
authors = [
{ name="LAMDA 2024", email = "abductivelearning@gmail.com" },
]
@@ -14,7 +14,7 @@ requires-python = ">=3.7.0"
license = {text = "MIT LICENSE"}
keywords = ["machine-learning", "framework", "abductive-learning", "neuro-symbolic"]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",


Loading…
Cancel
Save