Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo_global.py is not working #2

Open
Shuntw6096 opened this issue Mar 12, 2021 · 3 comments
Open

demo_global.py is not working #2

Shuntw6096 opened this issue Mar 12, 2021 · 3 comments

Comments

@Shuntw6096
Copy link

Shuntw6096 commented Mar 12, 2021

 # initilize the network here.
  from model.faster_rcnn.vgg16_SCL import vgg16

  if args.net == 'vgg16':
    fasterRCNN = vgg16(foggy_classes, pretrained=True)

    # fasterRCNN = vgg16(pascal_classes, pretrained=False, class_agnostic=args.class_agnostic,lc=args.lc,gc=args.gc)
  elif args.net == 'res101':
    fasterRCNN = resnet(pascal_classes, 101, pretrained=False, class_agnostic=args.class_agnostic,context=args.context)
  elif args.net == 'res50':
    fasterRCNN = resnet(pascal_classes, 50, pretrained=False, class_agnostic=args.class_agnostic)
  elif args.net == 'res152':
    fasterRCNN = resnet(pascal_classes, 152, pretrained=False, class_agnostic=args.class_agnostic)
  else:
    print("network is not defined")
    pdb.set_trace()

  fasterRCNN.create_architecture()

It seems that some files are missing.

Traceback (most recent call last):
  File "demo_global.py", line 192, in <module>
    from model.faster_rcnn.vgg16_SCL import vgg16
ModuleNotFoundError: No module named 'model.faster_rcnn.vgg16_SCL'

Thanks

@Shuntw6096 Shuntw6096 changed the title demo_global.py does not working demo_global.py is not working Mar 12, 2021
@theblackcat102
Copy link
Member

@erictseng610 is this a module from faster_rcnn? If so can you include it into the repo?

@Shuntw6096
Copy link
Author

Hi,
I found another version of the faster-rcnn https://github.com/harsh-99/SCL/tree/master/lib/model/faster_rcnn

Is this the same as the missing one?
Thanks.

@erictseng610
Copy link
Collaborator

We have not finished demo_global.py yet.
I'll fix this bug in the following days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants