Skip to content

demo_global.py is not working #2

Open

Description

@Shuntw6096
 # 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

Activity

  1. changed the title [-]demo_global.py does not working[/-] [+]demo_global.py is not working[/+] on Mar 12, 2021
  2. theblackcat102 commented on Mar 12, 2021

    @theblackcat102
    Member

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

  3. Shuntw6096 commented on Mar 13, 2021

    @Shuntw6096
    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.

  4. erictseng610 commented on Mar 13, 2021

    @erictseng610
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions