Giter Club home page Giter Club logo

2020-ai-road-segmentation's People

Contributors

reacher-l avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

2020-ai-road-segmentation's Issues

同学,我在复现你这个代码的时候遇到个问题,想问下你之前遇到过么?

=> loading pretrained model True
=> loading pretrained model True
5069 images are loaded!
1157 images are loaded!
config: /backbone=hrnet/warmup=100_lr=0.01_multiplier=100_eta_min=0.0005_num_epochs=150_batchsize=4
Epoch [1]/[150] lr=0.010000
0%| | 0/1267 [00:00<?, ?it/s]THCudaCheck FAIL file=/pytorch/aten/src/THC/THCCachingHostAllocator.cpp line=296 error=77 : an illegal memory access was encountered
0%| | 0/1267 [00:02<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 267, in
train_model()
File "train.py", line 152, in train_model
loss = calc_loss(outputs, labels, edge, metrics)
File "/home/sankuai/road_extra/loss.py", line 446, in calc_loss
loss_ls = lovasz_softmax(F.softmax(pred[1],dim=1),target)
File "/home/sankuai/road_extra/loss.py", line 185, in lovasz_softmax
loss = lovasz_softmax_flat(*flatten_probas(probas, labels, ignore), classes=classes)
File "/home/sankuai/road_extra/loss.py", line 204, in lovasz_softmax_flat
if (classes is 'present' and fg.sum() == 0):
RuntimeError: CUDA error: an illegal memory access was encountered

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.