Comments (1)
torchtext里面data.Iterator.splits()函数将训练验证数据集打包成bantch_size=64的块,每一个batch中的序列的长度依照该batch中64个句子的最大长度为基准,所以每个batchs的固定的序列长度不一
from cnn-text-classification-pytorch.
Related Issues (19)
- hi, errors when call cuda() on this model HOT 1
- Issue with the prediction function HOT 3
- Pre-trained word embeddings HOT 4
- l2 norm HOT 3
- prediction error HOT 2
- Issue with running code on SST Dataset HOT 1
- Data load error in Python2
- why * 1000? HOT 1
- Embedding Static HOT 2
- why the acc is so high?
- How to make the embedding changeable in backpropagation HOT 1
- RuntimeError: set_storage_offset is not allowed on Tensor created from .data or .detach() HOT 1
- feature.data.t_(), target.data.sub_(1) HOT 2
- Preprocessing issue in mydatasets.py HOT 1
- Performance on MR dataset HOT 2
- Output raw input sentences HOT 1
- I got some mistakes
- 'Field' object has no attribute 'vocab'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnn-text-classification-pytorch.