MusiteDeep
MusiteDeep copied to clipboard
nclass_init is taken as an str, not int. TypeError: range() integer end argument expected, got str.
Another issue that I face is that the nclass_init variable gets value of str weird enough. Here is the total error:
Traceback (most recent call last):
File "predict_batch.py", line 184, in <module>
main()
File "predict_batch.py", line 104, in main
predictproba=batch_predict(testfrag,models,model,nclass,nclass_init,outputfile)
File "predict_batch.py", line 33, in batch_predict
for ini in range(nclass_init):
TypeError: range() integer end argument expected, got str.