GithubHelp home page GithubHelp logo

Comments (4)

samet-akcay avatar samet-akcay commented on July 20, 2024 1

@yoheikikuta, Thanks for your feedback, the repo has now been updated.

from ganomaly.

yhxuyou avatar yhxuyou commented on July 20, 2024

hello,I have done this,but i got an another problem like this,and how can i to deal with it?

Traceback (most recent call last):
  File "train.py", line 43, in <module>
    model.train()
  File "/data4/xyz/genarmal/lib/model.py", line 280, in train
    res = self.test()
  File "/data4/xyz/genarmal/lib/model.py", line 354, in test
    auc = evaluate(self.gt_labels, self.an_scores, metric=self.opt.metric)
  File "/data4/xyz/genarmal/lib/evaluate.py", line 30, in evaluate
    return roc(labels, scores)
  File "/data4/xyz/genarmal/lib/evaluate.py", line 55, in roc
    fpr, tpr, _ = roc_curve(labels, scores)
  File "/usr/local/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 534, in roc_curve
    y_true, y_score, pos_label=pos_label, sample_weight=sample_weight)
  File "/usr/local/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 318, in _binary_clf_curve
    raise ValueError("{0} format is not supported".format(y_type))
ValueError: multiclass format is not supported

from ganomaly.

samet-akcay avatar samet-akcay commented on July 20, 2024

@yhxuyou, I'm not sure, but your problem sounds more like that your data. It sounds like your data is a multi-class dataset, which would not work in this case since this repo only accepts binary class at the moment.

from ganomaly.

yoheikikuta avatar yoheikikuta commented on July 20, 2024

Since the original issue was solved, I'll close the issue.
Thanks.

from ganomaly.

Related Issues (20)

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.