ContinualAI / ContinualAI/avalanche
Storage policy's buffer doesn't keep the targets attribute
Open
bug
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
All storage policies in Avalanche initialize their internal buffer with an empty dataset, i.e.:
```python
self._buffer: AvalancheDataset = concat_datasets([])
```
When a new dataset is used to update the current buffer, `self._buffer` is concatenated with the new dataset, and since it's a concatenation of an empty dataset with another dataset , the targets are not transferred in the case of classification datasets.
Is this a bug or is it the expected behavior?
Contributor guide
Assessment
This issue has not been assessed yet.