Skip to content
Snippets Groups Projects

WIP: Add annotation support and fix some bugs

Closed Amir MOHAMMADI requested to merge annots into master

Merge request reports

Checking pipeline status.

Approval is optional

Closed by Amir MOHAMMADIAmir MOHAMMADI 7 years ago (Feb 22, 2018 12:02pm UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
85 85 """
86 86 return []
87 87
88 @abc.abstractmethod
88 89 def annotations(self, file):
  • 32 32 parser = parsers['main']
    33 33 parser.add_argument('--sub-task',
    34 34 choices=('preprocess', 'train-extractor', 'extract', 'train-projector', 'project',
    35 'compute-scores'),
    35 'train', 'compute-scores'),
  • 40 40 # now that we have set up everything, get the command line arguments
    41 41 return tools.initialize(parsers, command_line_parameters,
    42 42 skips=['preprocessing', 'extractor-training', 'extraction', 'projector-training',
    43 'projection', 'score-computation'])
    43 'projection', 'algorithm-training', 'score-computation'])
  • 211 237 The file to read the projector from.
    212 238 """
    213 239 pass
    240
    241 def train(real, attack, model_file):
  • 18 18 assert (data in _data)
    19 19 return data + 1.0
    20 20
    21 def train(self, training_data, extractor_file):
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading