Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observer unknown for bbob-mixint on a distant machine #1894

Closed
DahitoMA opened this issue May 21, 2019 · 7 comments
Closed

Observer unknown for bbob-mixint on a distant machine #1894

DahitoMA opened this issue May 21, 2019 · 7 comments

Comments

@DahitoMA
Copy link

DahitoMA commented May 21, 2019

I try to use the cocoex.Observer on the bbob-mixint suite on a distant machine using linux. It is saying 'COCO WARNING: Unknown observer!'
I am using python 2.7.16 from Anaconda and to this day the coco version is up-to-date with the master branch. Here is the code:

import cocoex
suite = cocoex.Suite('bbob-mixint', 'instances: 1-5', 'dimensions: 5, 10, 20')
observer = cocoex.Observer('bbob-mixint', 'result_folder')
@nikohansen
Copy link
Contributor

How about using the (default) 'bbob' observer? Isn't that supposed to work, @ttusar ?

@ttusar
Copy link
Contributor

ttusar commented May 21, 2019

Yes, there's no 'bbob-mixint' obsever, just the 'bbob' one.

I think the confusion might come from some examples where the suite name is automatically used also as the observer name (I'm saying this on the top of my head - I think I saw it somewhere).

@brockho
Copy link
Contributor

brockho commented May 21, 2019

I found the problem. We did not implement the automatic map from the new observer names to the old observers. Fix is on the way.

brockho added a commit that referenced this issue May 21, 2019
@ttusar
Copy link
Contributor

ttusar commented May 21, 2019

What new observers?

@ttusar
Copy link
Contributor

ttusar commented May 21, 2019

Oh, I see now what you did...

@brockho
Copy link
Contributor

brockho commented May 21, 2019

"Observer names": 'bbob-mixint' and 'bbob-biobj-mixint', see 5666592

@brockho brockho closed this as completed May 21, 2019
@ttusar
Copy link
Contributor

ttusar commented May 21, 2019

I never thought we would be giving new names to old observers. I guess it's practical, but it just never occurred to me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants