You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have executed DataPreprocess.exe for CAL dataset as you said to prepare CAL dataset for LoLa.
(Cryptonet root directory)\bin\x64\Release> .\DataPreprocess.exe CAL
Then I yielded System.IndexOutOfRangeException.
Unhandled Exception: System.IndexOutOfRangeException: Index out of array range.
위치: DataPreprocess.GetCAL.Run(String[] args) 파일 C:\Users\ohsai\Desktop\Workspace\CryptoNets\DataPreprocess\GetCAL.cs:줄 0
위치: DataPreprocess.DataPreprocess.Main(String[] args) 파일 C:\Users\ohsai\Desktop\Workspace\CryptoNets\DataPreprocess\DataPreprocess.cs:줄 18
So I thought additional arguments for the program were necessary, so I looked at the GetCAL.cs to find out that second argument should be .tsv file and third argument should be the folder which contains all the images of Caltech-101 dataset.
So I have downloaded Caltech-101 image dataset and placed it in (Cryptonet root directory)\bin\x64\Release folder as a folder name of "CALObjectCategories",
(Cryptonet root directory)\bin\x64\Release> ls .\CALObjectCategories\
디렉터리:
(Cryptonet root directory)\bin\x64\Release\CALObjectCategories
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2019-08-07 오전 5:31 accordion
d----- 2019-08-07 오전 5:31 airplanes
.
.
.
and executed following command.
(Cryptonet root directory)\bin\x64\Release>.\DataPreprocess.exe CAL ".\cal_train.tsv" ".\CALObjectCategories\"
But It failed to process all the images, printing
failure on line ant/image_0013.jpg 4
faliure message for all the files.
So I tried to find out what caused the exception, and printed stacktrace for all try catch syntaxes on GetCAL.cs file.
Is this the right way to fetch and preprocess CAL dataset? You said to fetch CAL dataset first by following the instruction after the first .\DataPreprocess.exe CAL, but it did not gave the instruction at all.
If it is, how should I deal with this error? From the exception stacktrace, I think the error comes from Microsoft.ML.Transforms module.
The text was updated successfully, but these errors were encountered:
Sorry you encountered this problem and thanks for reporting. You are absolutely right that when you type .\DataPreprocess.exe CAL it should have responded with instructions of use. I will fix that shortly.
The exception you are seeing might be due to changes in the API of ML.NET library that we use to process the images. We are looking into it and I will notify once we pushed the solution.
I have executed
DataPreprocess.exe
for CAL dataset as you said to prepare CAL dataset for LoLa.Then I yielded System.IndexOutOfRangeException.
So I thought additional arguments for the program were necessary, so I looked at the GetCAL.cs to find out that second argument should be .tsv file and third argument should be the folder which contains all the images of Caltech-101 dataset.
So I have downloaded Caltech-101 image dataset and placed it in
(Cryptonet root directory)\bin\x64\Release
folder as a folder name of "CALObjectCategories",and executed following command.
But It failed to process all the images, printing
faliure message for all the files.
So I tried to find out what caused the exception, and printed stacktrace for all try catch syntaxes on GetCAL.cs file.
Then only this exception stack trace was printed.
So, my question is,
.\DataPreprocess.exe CAL
, but it did not gave the instruction at all.The text was updated successfully, but these errors were encountered: