DroneDetectionThesis / Drone-detection-dataset

Dataset containing IR, visible and audio data to be used to train drone detection systems.
Creative Commons Zero v1.0 Universal
121 stars 28 forks source link

Error in Mat files #1

Open shekharidentv opened 2 years ago

shekharidentv commented 2 years ago

>> load('/mnt/Drone-detection-dataset/Data/Video_IR/IR_AIRPLANE_001_LABELS.mat', 'gTruth') Warning: While loading an object of class 'groundTruth': Expected LabelData to be an array with number of rows equal to 321.

when I tried to load the mat file in matlab , it is showing the above error.

Also, as suggested from the data creation script.


>> Create_a_dataset_from_videos_and_labels
Warning: While loading an object of class 'groundTruth':
Expected LabelData to be an array with number of rows equal to 321. 
> In Create_a_dataset_from_videos_and_labels (line 17) 
Warning: While loading an object of class 'groundTruth':
Expected LabelData to be an array with number of rows equal to 309. 
> In Create_a_dataset_from_videos_and_labels (line 18) 
Dot indexing is not supported for variables of this type.

Error in groundTruth/selectLabels (line 385)
            allLabelNames = this.LabelDefinitions.Name;

Error in groundTruth/selectLabels (line 380)
                    gTruth(n) = selectLabels(this(n), labels); %#ok<AGROW>

Error in Create_a_dataset_from_videos_and_labels (line 25)
gTruth = selectLabels(gTruth,{'AIRPLANE','BIRD','DRONE','HELICOPTER'});```

It is showing this error
DroneDetectionThesis commented 1 year ago

Hello.

You need the Computer vision toolbox to use the functions you are asking about.

https://se.mathworks.com/help/vision/ref/objectdetectortrainingdata.html https://se.mathworks.com/help/vision/ref/groundtruth.selectlabels.html

Best regards, Fredrik

Den ons 30 mars 2022 kl 13:36 skrev shekhar koirala < @.***>:

load('/mnt/Drone-detection-dataset/Data/Video_IR/IR_AIRPLANE_001_LABELS.mat', 'gTruth') Warning: While loading an object of class 'groundTruth': Expected LabelData to be an array with number of rows equal to 321.

when I tried to load the mat file in matlab , it is showing the above error.

Also, as suggested from the data creation script. `

Create_a_dataset_from_videos_and_labels Warning: While loading an object of class 'groundTruth': Expected LabelData to be an array with number of rows equal to 321. In Create_a_dataset_from_videos_and_labels (line 17) Warning: While loading an object of class 'groundTruth': Expected LabelData to be an array with number of rows equal to 309. In Create_a_dataset_from_videos_and_labels (line 18) Dot indexing is not supported for variables of this type.

Error in groundTruth/selectLabels (line 385) allLabelNames = this.LabelDefinitions.Name;

Error in groundTruth/selectLabels (line 380) gTruth(n) = selectLabels(this(n), labels); %#ok

Error in Create_a_dataset_from_videos_and_labels (line 25) gTruth = selectLabels(gTruth,{'AIRPLANE','BIRD','DRONE','HELICOPTER'});`

It is showing this error

— Reply to this email directly, view it on GitHub https://github.com/DroneDetectionThesis/Drone-detection-dataset/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSY4WZUMUJBD7WUXSWI2PTVCQ4D7ANCNFSM5SBUBNBA . You are receiving this because you are subscribed to this thread.Message ID: @.***>