Closed WalidERRAIS closed 1 year ago
Hi, thanks for reporting this. This is a new (<5d) Ray issue brought about by a new pydantic release, see:
Ray are working to fix it, in the meantime, I'll constrain pykanto to install pydantic < 2.
How to fix:
pykanto
again when I release the fix@WalidERRAIS Have closed this now, do let me know if you run into issues.
@nilomr I downgrade pydantic to v1.10.11 It worked, thank you.
Hi,
My project directory : Items held:
PROJECT: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test DATA: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/data RAW_DATA: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/data/raw/sociable_weaver SEGMENTED: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/data/segmented/sociable_weaver RESOURCES: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/resources REPORTS: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/reports FIGURES: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/reports/figures DATASET: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/data/datasets/sociable_weaver/sociable_weaver.db DATASET_ID: sociable_weaver SPECTROGRAMS: /mnt/c/Users/pietr/stage_Walid/new_pykanto_test/data/datasets/sociable_weaver/spectrograms
According to #27. I have wav files and corresponding csv annotations of units in RAW_DATA. In SEGMENTED I have json file and wav file for each vocalizations in csv file.
The problem that I have is when I instantiated KantoData I have the following error : AttributeError: module 'pydantic.fields' has no attribute 'ModelField'.
I use pykanto v0.1.5; pydantic v2.0.2; ray v2.5.1 on linux wsl 2 and jupyterlab 4.0.2.
There is the cell output :