summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 09:14:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 09:14:59 +0000
commit1689a429b04ec34e5ad7a6e7740ec14a06e3d4e5 (patch)
tree8d64f4fd475acf6fe667d41009b7bf5c660da351
parent9fb2e3a40a05ee8bf2962151141336881b701e67 (diff)
automatic import of python-torchilityopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-torchility.spec42
-rw-r--r--sources2
3 files changed, 35 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index ba395de..bbbd2cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/torchility-0.7.2.tar.gz
+/torchility-0.7.3.tar.gz
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
diff --git a/sources b/sources
index b1c0583..b29b7df 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c809887d3047d70d37f6f783ae386011 torchility-0.7.2.tar.gz
+64de19092f57e593531e30467a427e7c torchility-0.7.3.tar.gz