IBM / mi-prometheus

Enabling reproducible Machine Learning research
http://mi-prometheus.rtfd.io/
Apache License 2.0
42 stars 18 forks source link

Negative sequence lengths during testing on DWM #140

Open tsjayram opened 5 years ago

tsjayram commented 5 years ago

Describe the bug When I run mip-tester on the DWM model, the seq_length parameter is reported as negative.

To Reproduce Steps to reproduce the behavior: E.g., run mip-tester --model experiments/SerialRecallCommandLines/DWM/20190329_123610/models/model_best.pt --config configs/dwm_baselines/dwm/serial_recall.yaml on any trained model

Desktop (please complete the following information):

Additional context The problem seems to occur when min_seq_length and max_seq_length are both above 127

tsjayram commented 5 years ago

I noticed that the negative values in test_dict after executing the line https://github.com/IBM/mi-prometheus/blob/44098d224f122cadaf167649a7ec1efe514c8e0f/miprometheus/workers/tester.py#L316