CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - numpy for py 2
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - numpy for py 2 - List
[
Windows Develop
]
numpy-1.0.3.1.win32-py2.5
DL : 0
The fundamental package needed for scientific computing with Python is called NumPy. This package contains: * a powerful N-dimensional array object * sophisticated (broadcasting) functions * basic linear algebra functions * basic Fourier transforms * sophisticated random number capabilities * tools for integrating Fortran code. -The fundamental package needed for scientific computing with Python is called NumPy. This package contains: * a powerful N-dimensional array object * sophisticated (broadcasting) functions * basic linear algebra functions * basic Fourier transforms * sophisticated random number capabilities * tools for integrating Fortran code.
Date
: 2025-07-03
Size
: 1.95mb
User
:
石头
[
Other
]
errwin_sliding_with_sigma_loop.py
DL : 0
Guassian 2d filter : using numpy, matplotlib and scipy in python. Could be used for Image processing purposes
Date
: 2025-07-03
Size
: 2kb
User
:
skg
[
Other
]
Char-RNN-PyTorch-master
DL : 1
# Char-RNN-PyTorch 使用字符级别的RNN进行文本生成,使用PyTorch框架。[Gluon实现] ## Requirements - PyTorch 0.2 - numpy ## Basic Usage 如果希望训练网络,使用如下的代码 ```bash python main.py \ --state train \ --txt './data/poetry.txt' \ # 训练用的txt文本 --batch 128 \ # batch_size --epoch 1000 \ --len 100 \ # 输入RNN的序列长度 --max_vocab 5000 \ # 最大的字符数量 --embed 512 \ # 词向量的维度 --hidden 512 \ # 网络的输出维度 --n_layer 2 \ # RNN的层数 --dropout 0.5 ``` 如果希望使用训练好的网络进行文本生成,使用下面的代码 ```bash python main.py \ --state eval \ --begin '我' \ # 生成文本的开始,可以是一个字符,也可以一段话 --pred_len 100 \ # 希望生成文本的长度 --checkpoint './checkpoint/model_100.pth' # 读取训练模型的位置 ```(# Char-RNN-PyTorch Use the character level RNN for text generation, using the PyTorch framework. [Gluon ## Requirements - PyTorch 0.2 - numpy ## Basic Usage If you want to train the network, use the following code ```bash Python main.py \ --state train \ TXT text --txt'./data/poetry.txt'\ # for training --batch 128, batch_size # --epoch 1000 \ The length of the sequence --len 100 \ # input RNN --max_vocab 5000, # maximum number of characters --embed 512 \ # word vector dimension The output dimension --hidden 512 \ # network --n_layer 2 # \ RNN layers --dropout 0.5 . If you want to use a trained network for text generation, use the following code ```bash Python main.py \ --state Eval \ I \ '--begin' # generated text, can be a character, can also be a paragraph --pred_len 100, # want to generate text length --checkpoint'./checkpoint/model_100.pth'# reading training model position .)
Date
: 2025-07-03
Size
: 1.41mb
User
:
特别的晴天
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.