Open loretoparisi opened 2 years ago
[UPDATE] I think I'm facing this ray issue.
Hello @hugofloresgarcia, so according to the author of Ray, that was so kind to help me while debugging and reading the logs emitted by Ray, the error behind this issue is actually related to this line:
it seems like there is something wrong with the records in files.items() (a few lines above), such that the loop does not add any entries to the new_recods list, ultimately raising the AssertionError.
Thanks!
Hi Loreto,
Apologies for the late response. I'm currently out of town, and wouldn't be able to look into the issue until tomorrow (Dec 2). Apologies if this causes any inconvenience!
Giving it a quick look, it looks like the data loading code cannot find the .json files associated with preprocessed data entries. See this line to look at where the data is supposed to be getting loaded (but isn't): https://github.com/hugofloresgarcia/music-trees/blob/e6c547b2d33a901b29917287c368a94d84f42ef0/music_trees/data.py#L126
Instead of trying to debug with the quite verbose ray output, try running a single training script first:
python music_trees/train.py --model_name hprotonet --height 4 --d_root 128 --loss_alpha 1 --name "flat (BCE)" --dataset mdb-aug --learning_rate 0.03 --loss_weight_fn cross-entropy
this should make the debug output a lot more readable
I was finally able to run
trees.generate
šI then try
but I get this error
That is too much difficult to read and debug, the last part was
Any idea?
Thank you!