Git Product home page Git Product logo

bit-da / ripu Goto Github PK

View Code? Open in Web Editor NEW
139.0 139.0 20.0 17.14 MB

[CVPR 2022 Oral] Towards Fewer Annotations: Active Learning via Region Impurity and Prediction Uncertainty for Domain Adaptive Semantic Segmentation https://arxiv.org/abs/2111.12940

Home Page: https://arxiv.org/abs/2111.12940

License: MIT License

Python 98.66% Shell 1.34%
data-efficient-learning domain-adaptation semantic-segmantation source-free-domain-adaptation

ripu's People

Contributors

binhuixie avatar yuanlonghui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ripu's Issues

RuntimeError: CUDA error: no kernel image is available for execution on the device

File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 372, in _str
return _str_intern(self)
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 352, in _str_intern
tensor_str = _tensor_str(self, indent)
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 241, in _tensor_str
formatter = _Formatter(get_summarized_data(self) if summarize else self)
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 275, in get_summarized_data
return torch.stack([get_summarized_data(x) for x in self])
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 275, in
return torch.stack([get_summarized_data(x) for x in self])
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 275, in get_summarized_data
return torch.stack([get_summarized_data(x) for x in self])
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 275, in
return torch.stack([get_summarized_data(x) for x in self])
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 273, in get_summarized_data
return torch.stack([get_summarized_data(x) for x in (start + end)])
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 273, in
return torch.stack([get_summarized_data(x) for x in (start + end)])
File "/home/tl/.conda/envs/grp03/lib/python3.7/site-packages/torch/_tensor_str.py", line 266, in get_summarized_data
return torch.cat((self[:PRINT_OPTS.edgeitems], self[-PRINT_OPTS.edgeitems:]))
RuntimeError: CUDA error: no kernel image is available for execution on the device

RuntimeError: Error(s) in loading state_dict for ASPP_Classifier_V2

python test.py -cfg configs/synthia/deeplabv2_r101_RA_source_free.yaml OUTPUT_DIR results/v2_synthia_ra_2.2_precent_source_free resume results/v2_gtav_ra_2.2_precent_source_free/model_iter020000.pth

I got this error :
2023-08-16 11:29:04,895 AL-RIPU.tester INFO: Loading checkpoint from results/v2_gtav_ra_2.2_precent_source_free/model_iter020000.pth
Traceback (most recent call last):
File "test.py", line 192, in
main()
File "test.py", line 188, in main
test(cfg)
File "test.py", line 93, in test
classifier.load_state_dict(classifier_weights)
File "/home/zmz/miniconda3/envs/py38/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1482, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for ASPP_Classifier_V2:
size mismatch for conv2d_list.0.weight: copying a param with shape torch.Size([19, 2048, 3, 3]) from checkpoint, the shape in current model is torch.Size([16, 2048, 3, 3]).
size mismatch for conv2d_list.0.bias: copying a param with shape torch.Size([19]) from checkpoint, the shape in current model is torch.Size([16]).
size mismatch for conv2d_list.1.weight: copying a param with shape torch.Size([19, 2048, 3, 3]) from checkpoint, the shape in current model is torch.Size([16, 2048, 3, 3]).
size mismatch for conv2d_list.1.bias: copying a param with shape torch.Size([19]) from checkpoint, the shape in current model is torch.Size([16]).
size mismatch for conv2d_list.2.weight: copying a param with shape torch.Size([19, 2048, 3, 3]) from checkpoint, the shape in current model is torch.Size([16, 2048, 3, 3]).
size mismatch for conv2d_list.2.bias: copying a param with shape torch.Size([19]) from checkpoint, the shape in current model is torch.Size([16]).
size mismatch for conv2d_list.3.weight: copying a param with shape torch.Size([19, 2048, 3, 3]) from checkpoint, the shape in current model is torch.Size([16, 2048, 3, 3]).
size mismatch for conv2d_list.3.bias: copying a param with shape torch.Size([19]) from checkpoint, the shape in current model is torch.Size([16]).

Which SYNTHIA dataset have you used?

Hi, trying your code with SYNHIA, there are lots of different types of SYNTHIA datasets. Your paper mentioned that training data has 9400 images with 16 classes but I am afraid I still cannot judge which data is what you used.

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.