Skip to content

AttributeError: 'OpenVLAAttacker' object has no attribute 'mask_labels' #4

Description

@Jianyi2004

Missing mask_labels method in OpenVLAAttacker class

Issue Description

When running the UADA attack code, I encountered an error indicating that the mask_labels method is missing in the OpenVLAAttacker class:AttributeError: 'OpenVLAAttacker' object has no attribute 'mask_labels'
This error occurs in UADA.py when trying to call self.mask_labels(labels, maskidx).

Environment

  • Python version: 3.10
  • Repository version: latest commit
  • Running on Ubuntu

Questions

  1. Is there a missing implementation of the mask_labels method that should be included in the OpenVLAAttacker class?
  2. Could you provide the correct implementation of this method or point me to where it should be defined?
  3. Is this possibly a missing file or code that wasn't included in the repository?
    Any guidance on resolving this issue would be greatly appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions