Repeatedly being raised by model.train call when metrics are evaluated.
/opt/anaconda3/envs/opso_10_1_py310/lib/python3.10/site-packages/opensoundscape/sample.py:152: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]
"labels": torch.Tensor([s.labels for s in samples]),
we get the same Warning from opensoundscape/utils.py:341 even though we aren't using positional indexing, we are using keyed indexing. @louisfh do you know what the solution is?
Repeatedly being raised by
model.train
call when metrics are evaluated./opt/anaconda3/envs/opso_10_1_py310/lib/python3.10/site-packages/opensoundscape/sample.py:152: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use
ser.iloc[pos]
"labels": torch.Tensor([s.labels for s in samples]),