Giter Club home page Giter Club logo

amr's People

Contributors

freeseg avatar jayqine avatar wujie1010 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

Watchers

 avatar  avatar  avatar  avatar

amr's Issues

There are no two .pth files,can you upload it?

FileNotFoundError: [Errno 2] No such file or directory: 'sess/res50_cam.pth.pth'
FileNotFoundError: [Errno 2] No such file or directory: 'sess/res50_irn.pth.pth'

I also want to know the complete training steps, Thanks.

long running time and low miou

Hi author,

I run your code for about 10 days on 3090. and the result of eval_cam is only 0.428.
Is there anything wrong with my running command? I was running with "python run_sample.py --train_cam_pass True --train_amr_pass True --make_cam_pass True --eval_cam_pass True"

Cheers,
yuhao

UserWarning

Hi, I have problem about that:
UserWarning: Using a non-full backward hook when the forward contains multiple autograd Nodes is deprecated and will be removed in future versions. This hook will be missing some grad_input. Please use register_full_backward_hook to get the documented behavior.

please help!

Pre-trained model

Hello,
thanks for the great job!
I am confusing about the model provided. Is it generated from segmentation stage or classification phase?
Thank you!

Confusion about the code in net/resnet50_amr.py

Hello! Thanks for your great work!

I am confused about some lines in net/resnet50_amr.py. Did you mean that the spotlight branch is not supervised by classification? Is this equal to with torch.no_grad()?

AMR/net/resnet50_amr.py

Lines 47 to 58 in de39168

x = self.stage1(x).detach()
x = self.stage2(x).detach()
x = self.stage3(x).detach()
x = self.stage4(x).detach()
cam = F.conv2d(x, self.classifier.weight)
cam = F.relu(cam)
cam = cam[0] + cam[1].flip(-1)
x = torchutils.gap2d(x, keepdims=True)
x = self.classifier(x).detach()
x = x.view(-1, 20)

Looking forward to your reply.

forward() got an unexpected keyword argument 'step'

Hello, there was an exception occurred when I run eval script with command line python run_sample.py --make_cam_pass True --eval_cam_pass True.

TypeError: forward() got an unexpected keyword argument 'step'

The forward method of the class CAM seemingly did not support a parameter named step.

image

But the make_came step had provided it.

image

I'm wondering what's the effect of step, and what should I do for the code.

ValueError: could not convert string '2007_000032' to int32 at row 0, column 1.

I have encountered such an error:
Traceback (most recent call last):
File "run_sample.py", line 114, in
step.train_amr.run(args)
File "/home/stuc/zhx/AMR-main/step/train_amr.py", line 49, in run
train_dataset = voc12.dataloader.VOC12ClassificationDataset(args.train_list, voc12_root=args.voc12_root,
File "/home/stuc/zhx/AMR-main/voc12/dataloader.py", line 167, in init
super().init(img_name_list_path, voc12_root,
File "/home/stuc/zhx/AMR-main/voc12/dataloader.py", line 115, in init
self.img_name_list = load_img_name_list(img_name_list_path)
File "/home/stuc/zhx/AMR-main/voc12/dataloader.py", line 60, in load_img_name_list
img_name_list = np.loadtxt(dataset_path, dtype=np.int32)
File "/home/stuc/.conda/envs/amr/lib/python3.8/site-packages/numpy/lib/npyio.py", line 1308, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
File "/home/stuc/.conda/envs/amr/lib/python3.8/site-packages/numpy/lib/npyio.py", line 979, in _read
arr = _load_from_filelike(
ValueError: could not convert string '2007_000032' to int32 at row 0, column 1.
Looking forward to your reply,thank you!!!!

segmentation code

Hello, I want to ask which segmentation code did you use to train the pseudo-label?

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.