Andres Fernandez
Andres Fernandez
In my case (Ubuntu 20.04, Python3.7, torch 1.8), `pip install` also failed but cloning and calling the `pip install .` inside the repo worked. To add something to the discussion,...
The readme says that you need to flatten it to the shape `(NUM_CLASSES, H*W)`. Hope that helps!
Hi! First of all thanks a lot for the pointers and the amazing functionality that bibtexparser provides. For many weeks now, I've been curating a dataset involving bibtex entries, and...
Dear @sciunto, Thank you very much for your answer, I totally understand the situation. I'll try to get a PR with the following done over christmas: 1. Modify package to...
@ibe-314 unfortunately I didn't get around to do it, and iirc i didn't figure out a strategy either back then, but what you propose looks reasonabe to me, I'd say...
Taking a look at `strictyaml.parser`, 2 possibilities come to my mind: ## Functional It seems that the lib fix would be to add a `soft=False` boolean flag to `StrictYAMLScanner.__init__`, and...
Okay, so after taking a closer look at the code, it seems that `generic_load` is already imposing properties via monkey patching, so we can further exploit this: https://github.com/crdoconnor/strictyaml/blob/18b500355de77cf2edde87fb955e9a3113977ae0/strictyaml/parser.py#L273 Furthermore, the...
Update: it seems that the monkey-patching solution above successfully ignores the tag tokens, the rest of the entry is being processed with the given type in the schema, which is...
Hi! Any updates on this? Do we have a built-in validator for `"null" -> None` or should we extend `ScalarValidator` as Arne has shown? (thanks btw). Maybe `Null` is a...
This is what has been working for me so far, hope it helps! ```python # see https://yaml.org/spec/1.2/spec.html#id2805071 YAML_NULL = ["null", "Null", "NULL", "~"] class Null(ScalarValidator): """ 'null'->None """ @staticmethod def...