Dmitriy

Results 41 comments of Dmitriy

Thanks! May I suggest adding this link to the documentation?

Oh, I see. I must misunderstand the meaning of bytes in this case. My use case doesn't prevent me from dumping the file to disk, it's just an extra, inconvenient...

Actually, this works as intended; not sure why I thought it didn't. I think I'm actually after "sibling" config. I.e., ``` ex = Experiment() @ex.config def a_config(): a = 5...

The first version also doesn't work, if I switch `model_config` to a `named_config`, i.e., ``` @model.named_config def model_config(data): b = data['a'] / 2 # this doesn't work ``` Then if...

In the second example (sibling config), it should also be `named_config`: ``` ex = Experiment() @ex.config def a_config(): a = 5 @ex.named_config def b_config(a): b = a / 2 #...

I guess I don't understand the precedence. Named configs are executed before regular configs, but their values take precedence over regular configs? I.e., regular configs don't over-write the already set...

It seems having a global `default_a` variable works as intended. It does mean code duplication, but perhaps that's good enough for my purposes. ``` default_a = 5 @ex.config def a_config():...

The global variable seems to do the trick. Thanks for your help.

Sorry, there is one more thing I don't understand. What's the logic why this doesn't work for sub-ingredients? If I explicitly mark `model` as dependent on `data`, as above, and...

I take this back. The graphics protocol works perfectly and is preserved across disconnect/reconnect, which is great. It's only the window size query that fails in the `icat` kitten (at...