Closed alexeyshmelev closed 1 year ago
Hello Alexey,
Sorry for not getting back to you earlier, and thank you for your willingness to help! I hope I can get to testing your issue as soon as possible. Although I have never used specifically that dataset, it is surprising that you see errors with the rest of the datasets, because they have been used and tested many times.
Quick question: are you using the link of the zip file in the README to download the classification data? And, are you using the failsafe_requirements.txt
to install packages? It is always possible that the owners of timeseriesclassification.com have made changes to the format of the data, or to the sktime
package.
@gzerveas Yeah, I tried both rerequirements.txt
files. Nothing worked except going into the source code (mvts_transformer/src/running.py
) and just commenting the line 222: np.savez(pred_filepath, **per_batch)
Regression works perfectly fine for me but all datasets from timeseriesclassification.com give the following errors:
The training process even didn't start. I used the following command to start training (like training from scratch in your readme):
python ./mvts_transformer/src/main.py --output_dir experiments --comment "classification from Scratch" --name ArticularyWordRecognition_fromScratch --records_file Classification_records.xls --data_dir Multivariate_ts/ArticularyWordRecognition/ --data_class tsra --pattern TRAIN --val_pattern TEST --epochs 400 --lr 0.001 --optimizer RAdam --pos_encoding learnable --task classification --key_metric accuracy --batch_size 32
Now I'm just trying to understand what's wrong here using dataset "ArticularyWordRecognition" from timeseriesclassification.com. Could you try to run it and give feedback how it was on your side? If your code wasn't made to work with this dataset, could you, please, provide the right idea of fixing it (it is very important to do everything right because I want to run your code on my own dataset that it very similar to "ArticularyWordRecognition")?
Of course, I can try to fix your code but could you help me in order to avoid some logical mistakes in training pipline (who knows what wrong I can do during my problem fixing).