Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
kervias committed Jul 29, 2024
1 parent 6541b7c commit 72d6a32
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python -m pip install --upgrade pip
pip install build
pip install pytest
pip install torch==1.12.1 --index-url https://download.pytorch.org/whl/cpu
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e . --verbose
pip install -r requirements.txt
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = 'EduStudio'
copyright = '2023, HFUT-LEC'
author = 'HFUT-LEC'
release = 'v1.1.1'
release = 'v1.1.3'

import sphinx_rtd_theme
import os
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. EduStudio documentation master file.
.. title:: EduStudio v1.1.1
.. title:: EduStudio v1.1.3
.. image:: assets/logo.png

=========================================================
Expand Down
2 changes: 1 addition & 1 deletion edustudio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from __future__ import print_function
from __future__ import division

__version__ = 'v1.1.1'
__version__ = 'v1.1.3'
4 changes: 2 additions & 2 deletions edustudio/utils/common/configUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ def default(self, obj):
np.uint16, np.uint32, np.uint64)):
return int(obj)

elif isinstance(obj, (np.float_, np.float16, np.float32, np.float64)):
elif isinstance(obj, (np.float16, np.float32, np.float64)):
return float(obj)

elif isinstance(obj, (np.complex_, np.complex64, np.complex128)):
elif isinstance(obj, (np.complex64, np.complex128)):
return {'real': obj.real, 'imag': obj.imag}

elif isinstance(obj, (np.ndarray,)):
Expand Down
1 change: 1 addition & 0 deletions examples/1.run_cd_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
cfg_file_name=None,
traintpl_cfg_dict={
'cls': 'GeneralTrainTPL',
'device': 'cpu'
},
datatpl_cfg_dict={
'cls': 'CDInterExtendsQDataTPL'
Expand Down

0 comments on commit 72d6a32

Please sign in to comment.