Giter Club home page Giter Club logo

desra's People

Contributors

liangbinxie avatar xinntao 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

desra's Issues

No module in mmseg

Hello,there is a issue have generated in your coding''from mmseg.apis import inference_segmentor, init_segmentor, show_seg
from mmseg.core.evaluation import get_palette'', because the mmseg do not have this files. I have check all method in mmseg files,these package do not exist.
secondly, How to use your script/artifact_dection to clear the Artifact in my own image generated by another GAN?
Thank you very much!(The demo to clear one image)
4df0a0310c22c34edefa35c9c6645cf
ea798067d1c7f8bf0940a99cfea5447

How to make "GT-Mask", "DeSRA-Mask"??

Hello, I would like to apply a new image to DeSRA. I know how to create GAN-SR and MSE-SR images, but I don't know how to create GT-Mask and DeSRA-Mask images. I would be very grateful if you could explain. :)

Segformer checkpoint loading error

Hi, I have encoutered a problem while loading the checkpoint of Segformer model. Specifically, the model and loaded state dict do not match exactly. The error messages are as below:

Loads checkpoint by local backend from path: checkpoints/mit_b5_20220624-658746d9.pth
The model and loaded state dict do not match exactly
unexpected key in source state_dict:.....
missing keys in source state_dict:...
Traceback (most recent call last):
File "demo/artifact_detection.py", line 320, in
main()
File "demo/artifact_detection.py", line 215, in main
model = init_model(args.config, args.checkpoint, device=args.device)
File "mmsegmentation/mmseg/apis/inference.py", line 62, in init_model
dataset_meta = checkpoint['meta'].get('dataset_meta', None)
KeyError: 'meta'

Would you please provide the exact Segformer checkpoint that works? Thanks a lot!

Mismatched package versions

Installing the package according to the version you specified will not run the code correctly, causing some errors. Please fix the code or version dependencies.

Function name problem in In artifact_detection.py

In artifact_detection.py
I think
Line 10 "from mmseg.apis import inference_segmentor, init_segmentor, show_seg from mmseg.apis import inference_model, init_model, show_result_pyplot" should be change to
"from mmseg.apis import inference_model, init_model, show_result_pyplot from mmseg.core.evaluation import get_palette"
because of function name in mmsegmentation.

What is your opinion on my thoughts?

About MSE model

Which MSE model do you use? I didn't find this model in the paper. Is it EDSR or SRResnet?
Thank you for your reply!

Apply other datasets

I created Final_Artifact_Map with Urban100 and BSD100 datasets, but there are only few files that have been segmented. Why is that so? I wonder if it is due to because of the difference in resolution between the test dataset (DeSRA) and the dataset I used(Urban100, BSD100)
or because segmentation is not suitable. (config and checkpoints set default)
image
image

Is lables losed?

Hello, I tried to reproduce your results, but after correcting many problems, it still only completed the mask segmentation and showed that the array was out of bounds when loading the category. Is this problem caused by an error in the class name in the class?
“ File "demo/artifact_detection.py", line 131, in main
label_name = CLASSES[label]
IndexError: list index out of range”
Can you create a colab demo in your project?Thank you!

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.