cjsg
cjsg
The error arises as follows. At some point, omegaconf calls the function `omegaconf._utils.get_list_element_type` to determine the type inside of `Tuple`. This function looks as follows: ``` def get_list_element_type(ref_type: Optional[Type[Any]]) ->...
Yes thanks. However, most of the improvements targeted by issue #392 go much further than just correcting what looks like a small bug in `get_list_element_type`. One would only need to...
> Would you be interested in opening a PR to make such a change to get_list_element_type? Yes, I can give it a try this week or next one.
I had a quick look. In `get_list_element_type`, changing ``` def get_list_element_type(ref_type: Optional[Type[Any]]) -> Any: args = getattr(ref_type, "__args__", None) if ref_type is not List and args is not None and...
Interpolation to index of custom interpolation fails, depending on order of structured config fields
Yes, using ListConfig works. Another work-around is to define a second custom resolver that returns an index (or range) of a given Sequence, i.e. something like: ``` def slice(l, idx):...
Did you actually try to train your model from scratch, or did you always use the pre-trained weights? In particular, in the README, you write > Similar results as in...