Comments (7)
Seems like you don’t have cuda enabled device
from espnet.
I have cuda V9.0.176,pytorch 0.4.1
from espnet.
Could you check the value of args.gpu in main.py file?
from espnet.
Also, this codebase doesn’t support PyTorch 0.4. Check software requirements
from espnet.
Thanks for your help, it works for PyTorch 0.4 anyway. But another thing occurs when I finished training EspNet-C,I want to train ESPNet, but it says:
python3 main.py --scaleIn 1 --p 2 --q 8 --decoder True --pretrained ../pretrained/encoder/espnet_p_2_q_8.pth
Encoder loaded!
Total network parameters: 365109
/home/hh/.local/lib/python3.5/site-packages/torch/nn/modules/loss.py:206: UserWarning: NLLLoss2d has been deprecated. Please use NLLLoss instead as a drop-in replacement and see http://pytorch.org/docs/master/nn.html#torch.nn.NLLLoss for more details.
warnings.warn("NLLLoss2d has been deprecated. "
Data statistics
[103.45756 101.83934 101.728714] [69.51785 67.936035 64.71613 ]
[ 4.2652993 10.492059 10.492059 10.492059 10.492059 10.492059
10.492059 10.492059 10.492059 10.492059 10.492059 10.492059
10.492059 10.492059 10.492059 10.492059 10.492059 10.492059
10.492059 1.5139731]
Learning rate: 0.0005
Traceback (most recent call last):
File "main.py", line 415, in
trainValidateSegmentation(parser.parse_args())
File "main.py", line 338, in trainValidateSegmentation
train(args, trainLoader_scale1, model, criteria, optimizer, epoch)
File "main.py", line 98, in train
output = model(input_var)
File "/home/hh/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/hh/programs/ESPNet_hh/train/Model.py", line 387, in forward
comb_l2_l3 = self.up_l2(self.combine_l2_l3(torch.cat([output1_C, output2_c], 1))) #RUM
File "/home/hh/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/hh/.local/lib/python3.5/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/hh/.local/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/hh/.local/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 691, in forward
output_padding, self.groups, self.dilation)
RuntimeError: CUDA error: out of memory
What does it mean? My device is free now.
from espnet.
What is the batch size? I used 6 for ESPNet
from espnet.
Thanks for your help, it works.
from espnet.
Related Issues (20)
- We used the same code and procedure for the Camvid dataset. Please change the loadData.py file for CamVid dataset and you should be good to go HOT 1
- CUDNN_STATUS_INTERNAL_ERROR when training decoder on Cityscapes HOT 3
- optimizer.zero_grad() HOT 1
- ESPnet V2 accuracy HOT 2
- Train dataset with more than 20 classes HOT 2
- cuda runtime error(59) HOT 2
- double scale in test code HOT 4
- Size mismatch issue while testing retrained ESPNet on Cityscapes HOT 1
- About Performance Metric HOT 1
- Opencv Dnn HOT 1
- How do I train the segmentation categories I need ? HOT 1
- what value can you achieve about the result of cityscapes val ? HOT 1
- Exact versions of all the packages HOT 1
- Question about different torch sizes of decoding
- Comparison of ENet and ERFNet Model
- Regarding the assertion error- Assertion `t >= 0 && t < n_classes` failed
- How can I deploy the model on jeston AGX xavier?
- index 0 is out of bounds for dimension 0 with size 0
- Inverse class probability weights
- The segmentation mask overlayed on the image is gray not colored
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 espnet.