Comments (11)
这个报错呢?
Traceback (most recent call last):
File "/drive/MyDrive/DANet-0.5.0/danet/train.py", line 204, in
trainer.training(epoch)
File "/drive/MyDrive/DANet-0.5.0/danet/train.py", line 128, in training
outputs = self.model(image)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/parallel/data_parallel.py", line 141, in forward
return self.module(*inputs[0], **kwargs[0])
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/drive/MyDrive/DANet-0.5.0/encoding/models/danet.py", line 45, in forward
_, _, c3, c4 = self.base_forward(x)
File "/drive/MyDrive/DANet-0.5.0/encoding/models/base.py", line 61, in base_forward
c1 = self.pretrained.layer1(x)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/drive/MyDrive/DANet-0.5.0/encoding/dilated/resnet.py", line 96, in forward
out = self.conv1(x)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/conv.py", line 320, in forward
self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size [64, 128, 1, 1], expected input[1, 64, 192, 192] to have 128 channels, but got 64 channels instead
from danet.
在danet.py 更改input 可以使用 transpose 和 view套件
from danet.
在 danet.py 更改输入可以使用转置和视图套件
您好,能具体点吗,谢谢了
from danet.
https://zhuanlan.zhihu.com/p/342675997 。這篇有講蠻淺顯易懂的
from danet.
https://zhuanlan.zhihu.com/p/342675997 。這篇有講蠻淺顯易懂的
麻烦了,谢谢
from danet.
@Eileen000 您好,请问你能运行完整代码吗,方便加个联系方式吗,谢谢了
from danet.
from danet.
我有用 encnet danet dranet 用在 mmsegmentation 套件上並且套用swin transformer backbone而不是resnet101,你可以參考 https://github.com/JIA-HONG-CHU/Swin-Transformer-add-EncNet-DaNet-DraNet-for-semantic-segmentation-on-Statelite-Dataset
from danet.
十分感谢你们的回复,作为新人,代码上的问题颇多,我再好好琢磨琢磨吧。打扰了
from danet.
十分感谢你们的回复,作为新人,代码上的问题颇多,我再好好琢磨琢磨吧。打扰了
from danet.
您们好,我想问问训练DANet,怎么用cityscapes数据集进行训练?希望能有空回复一下,先谢谢了。
from danet.
Related Issues (20)
- How to visualize the attention map? HOT 1
- No module named 'encoding'?how to solve it? HOT 7
- In DANet, questions of features channels HOT 1
- 关于pascal_voc
- Connection Error when downloading Pascal Dataset HOT 3
- pre-training weight HOT 1
- When i try to train or test danet i get this error HOT 1
- TypeError: cross_entropy_loss(): argument 'input' (position 1) must be Tensor, not tuple HOT 1
- DRAN model in MMsegmentation? HOT 1
- Failed downloading url HOT 1
- requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
- ValueError: operands could not be broadcast together with shapes (1,1024,2048) (1024,2048,4)
- AttributeError: 'tuple' object has no attribute 'log_softmax'` HOT 2
- from option import Options
- 训练DANet
- python setup.py install
- The pretrained model in your Google drive is broken HOT 1
- train this
- 训练参数
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 danet.