Comments (3)
singled it out to
test_loss = self.vali(test_data, test_loader, criterion)
that's causing problems. for some reason it doesnt run on the gpu while everything else does?
test data is being loaded with batch_size of 1, so if your dataset is huge, the testing phase is essentially a long for
loop, which is going to be slow. It does run on GPU but with a batch_size of 1 I suppose the GPU memory footprint is too small for you to notice. To speed up the training, simply comment out this line. It shouldn't pose any issue since you do still perform inference on the validation set
from time-series-library.
singled it out to test_loss = self.vali(test_data, test_loader, criterion)
that's causing problems. for some reason it doesnt run on the gpu while everything else does?
from time-series-library.
singled it out to
test_loss = self.vali(test_data, test_loader, criterion)
that's causing problems. for some reason it doesnt run on the gpu while everything else does?test data is being loaded with batch_size of 1, so if your dataset is huge, the testing phase is essentially a long
for
loop, which is going to be slow. It does run on GPU but with a batch_size of 1 I suppose the GPU memory footprint is too small for you to notice. To speed up the training, simply comment out this line. It shouldn't pose any issue since you do still perform inference on the validation set
I think this is correct for very large datasets, as it indeed wastes time and the test_loss
during the training phase, besides being logged, serves no purpose, so I also agree with commenting out this line of code.
from time-series-library.
Related Issues (20)
- 多变量预测多变量能否指定多列预测目标 HOT 2
- Question about using PEMS datasets
- Predictions in unseen data using TimesNet HOT 1
- 关于不同CV模块的实验代码 HOT 1
- Proposal: Adding SegRNN Code to the Library
- 您好,请问会添加《TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables》吗?非常感谢你们团队在时序方面的工作,TimeXer对实际的预测工作可能嗯有帮助。 HOT 1
- 训练好的模型如何导出ONNX格式,部署到java? HOT 1
- 多元时序数据分类问题 HOT 2
- 关于imputation的mask_rate的问题 HOT 2
- 时序序列表征学习 HOT 1
- batch size HOT 2
- How to set seasonal_patterns to seconds? HOT 1
- AttributeError: Can't pickle local object 'data_provider.<locals>.<lambda>' HOT 1
- bugs in exp_imputation.py HOT 1
- Questions about imputation in TimesNet HOT 1
- 作者大大,请教一个问题 HOT 1
- TimesNet HOT 1
- hyperparameter HOT 1
- About Data Leakage in FFT_for_Period HOT 1
- exp_classification里,所有的flag赋值用的都是大写字母的问题 HOT 2
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 time-series-library.