forked from jittor/jittor
update url
This commit is contained in:
parent
d51ce09d31
commit
d531a9a9d5
|
@ -8,3 +8,11 @@ jittor.optim
|
|||
:members:
|
||||
:undoc-members:
|
||||
```
|
||||
|
||||
以下是Jittor的学习率调度模块的API文档,学习率调度模块需要配合优化器使用,您可以通过`from jittor import lr_scheduler`来获取该模块。
|
||||
|
||||
```eval_rst
|
||||
.. automodule:: jittor.lr_scheduler
|
||||
:members:
|
||||
:undoc-members:
|
||||
```
|
|
@ -8,7 +8,7 @@
|
|||
# This file is subject to the terms and conditions defined in
|
||||
# file 'LICENSE.txt', which is part of this source code package.
|
||||
# ***************************************************************
|
||||
__version__ = '1.2.2.46'
|
||||
__version__ = '1.2.2.47'
|
||||
from . import lock
|
||||
with lock.lock_scope():
|
||||
ori_int = int
|
||||
|
|
|
@ -82,6 +82,7 @@ def setup_mkl():
|
|||
|
||||
def install_cub(root_folder):
|
||||
url = "https://github.com/NVIDIA/cub/archive/1.11.0.tar.gz"
|
||||
url = "https://codeload.github.com/NVIDIA/cub/tar.gz/1.11.0"
|
||||
filename = "cub-1.11.0.tgz"
|
||||
md5 = "97196a885598e40592100e1caaf3d5ea"
|
||||
fullname = os.path.join(root_folder, filename)
|
||||
|
@ -196,6 +197,7 @@ def setup_cuda_lib(lib_name, link=True, extra_flags=""):
|
|||
def install_cutt(root_folder):
|
||||
# Modified from: https://github.com/ap-hynninen/cutt
|
||||
url = "https://github.com/Jittor/cutt/archive/master.zip"
|
||||
url = "https://codeload.github.com/Jittor/cutt/zip/master"
|
||||
|
||||
filename = "cutt-master.zip"
|
||||
fullname = os.path.join(root_folder, filename)
|
||||
|
|
|
@ -85,10 +85,10 @@ class MNIST(Dataset):
|
|||
Download mnist data set function, this function will be called when download is True.
|
||||
'''
|
||||
resources = [
|
||||
("http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz", "f68b3c2dcbeaaa9fbdd348bbdeb94873"),
|
||||
("http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz", "d53e105ee54ea40749a09fcbcd1e9432"),
|
||||
("http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz", "9fb629c4189551a2d022fa330f9573f3"),
|
||||
("http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz", "ec29112dd5afa0611ce80d1b7f02629c")
|
||||
("https://storage.googleapis.com/cvdf-datasets/mnist/train-images-idx3-ubyte.gz", "f68b3c2dcbeaaa9fbdd348bbdeb94873"),
|
||||
("https://storage.googleapis.com/cvdf-datasets/mnist/train-labels-idx1-ubyte.gz", "d53e105ee54ea40749a09fcbcd1e9432"),
|
||||
("https://storage.googleapis.com/cvdf-datasets/mnist/t10k-images-idx3-ubyte.gz", "9fb629c4189551a2d022fa330f9573f3"),
|
||||
("https://storage.googleapis.com/cvdf-datasets/mnist/t10k-labels-idx1-ubyte.gz", "ec29112dd5afa0611ce80d1b7f02629c")
|
||||
]
|
||||
|
||||
for url, md5 in resources:
|
||||
|
|
Loading…
Reference in New Issue