Rohit-Kundu / COVID-Detection-Gompertz-Function-Ensemble

Based on our paper "Fuzzy Rank-based Fusion of CNN Models using Gompertz Function for Screening COVID-19 CT-Scans".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Found input variables with inconsistent numbers of samples: [497, 745]

dondonprad opened this issue · comments

I have to try running main.py but there is an issue, show like on the title
Thank you

  • python 3.6.2
  • using all requirements.txt package

The number of samples you have for different probability distributions is different. For the SARS-COV-2 dataset, there should be 745 test samples (which is correct in all the CSV files provided). Check which probability distribution is giving the wrong shape of 497.

Check function getfile in utils_ensemble.py. It takes the labels from the Data folder. So check whether you have the correct data distribution downloaded in your folder. Or you can hard-code it yourself for your own data instead of parsing from the folders.