Comments (7)
graphwavenet.py中的3个nn.conv1d改成2d 就可以了
from step.
这个是torchc版本的问题,推荐使用1.10.0或者1.9.1,这俩我都测试过。更高版本的torch似乎不适配某些算子,就会导致出现这个问题。
from step.
行了运行了一下程序:
(STEP) PS D:\python-venv\STEP> conda install pytorch==1.10.0 torchvision==0.11.0 torchaudio==0.10.0 cudatoolkit=11.3 -c conda-forge
pip install -r requirements.txt
from step.
)
2022-12-07 15:07:14,588 - easytorch-training - INFO - Set lr_scheduler: <torch.optim.lr_scheduler.MultiStepLR object at 0x00000298A3100970>
2022-12-07 15:07:14,594 - easytorch-training - INFO - Initializing validation.
2022-12-07 15:07:14,594 - easytorch-training - INFO - Building val data loader.
val len: 3425
test len: 6850
2022-12-07 15:07:14,770 - easytorch-training - INFO - Epoch 1 / 100
31%|████████████████████████████████████████████████████████████████▌ | 935/2997 [06:52<14:51, 2.31it/s]
from step.
似乎已经顺利运行。
from step.
After torch 1.10, the kernel size of torch.nn.conv1d
is restricted to 1d, which used to could take tuple. But intuitively, when the kernel is (1,1) 2D, it should be conv2d not conv1d, and pytorch changed that after 1.10.
The fix will be changing
nn.Conv1d(in_channels=dilation_channels, out_channels=skip_channels, kernel_size=(1, 1))
to
nn.Conv2d(in_channels=dilation_channels, out_channels=skip_channels, kernel_size=(1, 1))
from step.
请问除了降版本没有其他方法了吗
from step.
Related Issues (20)
- About STEP-DCRNN HOT 4
- 关于pre-training结果的复现 HOT 7
- 关于adj_mx.pkl这个数据集的问题 HOT 1
- 数据集替换 HOT 1
- Error HOT 6
- torch.cuda.OutOfMemoryError
- 作者你好,请问这个可以用单步预测里面吗,类似mtgnn 里exchage那种的
- 复现出现张量维度不匹配 HOT 3
- 作者您好,向您请教一下discrete_graph_learning.py中实现Equation(2)的细节
- launch_training() got an unexpected keyword argument 'devices'
- 请问如何用TSformer预训练模型,是否有readme文件介绍步骤 HOT 2
- 用自己的数据集来 预训练 模型时,如何配置 HOT 2
- 配置“CFG.RE_SCALE=False” HOT 3
- 单变量是否可以用这个预训练模型 HOT 2
- 数据集只有两列,请问是否可以用tsformer预训练模型 HOT 4
- About Figure 1 in the Paper HOT 4
- Setting of input and output length of compared model
- TSFormer预训练模型是否可以处理时间序列多通道数据? HOT 3
- 关于discrere_graph_learning.py 中的train_length HOT 1
- 多卡训练失败问题 HOT 3
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 step.