You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking into the code of the Analyze class it seems that the way the dataframes are created there does not work properly and the intermediat dataframes are already empty.
This can be fixed by creating those frames differntly e.g.
Description:
Using
Analyze.ShowClassSplits
on an object returned by the importer returns an empty dataframe.Expected:
The returned frame should contain the proportion of the samples labeled
train
,test
andvalidation
by the splitter.How to reproduce:
Assume "https://github.com/pylabelalpha/notebook/blob/main/BCCD_coco.zip?raw=true" is in the subdirectory 'data'
Suggested Fix
Looking into the code of the
Analyze
class it seems that the way the dataframes are created there does not work properly and the intermediat dataframes are already empty.This can be fixed by creating those frames differntly e.g.
pylabel/pylabel/analyze.py
Lines 137 to 143 in 6e815ff
should be
I can prepare a pull request if you like
The text was updated successfully, but these errors were encountered: