Skip to content

ValueError from GEM on Tox21 #22

@ghost

Description

Thanks for your effort to keep this benchmark better!

I have continuously kept facing errors from GEM on Tox21 in GCGL as below:

....
EarlyStopping counter: 41 out of 10

error constraints are inconsistent, no solution
Traceback (most recent call last):
File "train.py", line 118, in
AP, AF, acc_matrix = main(args,valid=True)
File "/home/python/CGLB/GCGL/pipeline_org.py", line 375, in pipeline_multi_label
life_model_ins.observe(train_loader, loss_criterion, tid, args)
File "/home/python/CGLB/GCGL/Baselines/gem_model.py", line 122, in observe
self.grads.index_select(1, indx), self.margin)
File "/home/python/CGLB/GCGL/Baselines/gem_utils.py", line 66, in project2cone2
v = quadprog.solve_qp(P, q, G, h)[0]
File "quadprog/quadprog.pyx", line 102, in quadprog.solve_qp
ValueError: constraints are inconsistent, no solution

Since the error occured during quadratic programming, the error might not be due to the original code.
However, I've never got the result but only error while I implementing GEM on Tox21.
Have you ever faced the same or similar case of error?

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