diff options
Diffstat (limited to 'python-torchility.spec')
-rw-r--r-- | python-torchility.spec | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/python-torchility.spec b/python-torchility.spec index a650c5b..5cc9609 100644 --- a/python-torchility.spec +++ b/python-torchility.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-torchility -Version: 0.7.2 +Version: 0.7.3 Release: 1 Summary: please add a summary manually as the author left a blank one License: MIT URL: https://github.com/hitlic/torchility -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/2d/6c3c41c629a165bab5142d301d3c8cd1896acd47107627cb5b09072fc17b/torchility-0.7.2.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/c8/f7/d13ece2dea2ab75b8794fd375a35bd24f466d81fd1e5d21e1b93e8a8538f/torchility-0.7.3.tar.gz BuildArch: noarch Requires: python3-torch @@ -33,6 +33,14 @@ A tool for training pytorch deep learning model more simply which is based on Py ## Usage +### Data Flow + +<center> + <img src="imgs/data_flow.png" width="60%"/> +</center> + +### Example + - MNIST ```python @@ -109,6 +117,14 @@ A tool for training pytorch deep learning model more simply which is based on Py ## Usage +### Data Flow + +<center> + <img src="imgs/data_flow.png" width="60%"/> +</center> + +### Example + - MNIST ```python @@ -182,6 +198,14 @@ A tool for training pytorch deep learning model more simply which is based on Py ## Usage +### Data Flow + +<center> + <img src="imgs/data_flow.png" width="60%"/> +</center> + +### Example + - MNIST ```python @@ -235,7 +259,7 @@ trainer.test(test_dl) %prep -%autosetup -n torchility-0.7.2 +%autosetup -n torchility-0.7.3 %build %py3_build @@ -249,20 +273,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -275,5 +299,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.2-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.3-1 - Package Spec generated |