Find Jobs
Hire Freelancers

Matlab Error using semanticSe​gmentation​Metrics The categorical data returned by dsResults and dsTruth must have the same categories.

$30-250 USD

Fullført
Lagt ut over ett år siden

$30-250 USD

Betalt ved levering
I used the matlab documentation to evaluate my results from a previous trained networkbut I get this error, can someone fix it and get it to work and output results please. What I specifically need is to evaluate segmentation results from the trained network and save the image results from segmentation to add to my report. Here's the code I used Evaluating semantic segmentation results ---------------------------------------- * Selected metrics: global accuracy, class accuracy, IoU, weighted IoU, BF score. * Processed 0 [login to view URL] using semanticSegmentationMetrics>iAssertCategoricalsHaveSameCategories The categorical data returned by dsResults and dsTruth must have the same categories. my code is below dataSetDir = fullfile('LungTS','preprocessedDataset'); testImagesDir = fullfile(dataSetDir,'imagesTest'); imdReader = @(x) matRead(x); imds = imageDatastore(testImagesDir, ... 'FileExtensions','.mat','ReadFcn',imdReader); %imds = imageDatastore(testImagesDir); classNames = ["nodule" "background"]; labelIDs = [255 0]; labelReader = @(x) matRead(x); testLabelsDir = fullfile(dataSetDir,'labelsTest'); pxdsTruth = pixelLabelDatastore(testLabelsDir,classNames,labelIDs, ... 'FileExtensions','.mat','ReadFcn',labelReader); net = load('[login to view URL]'); net = [login to view URL]; pxdsResults = semanticseg(imds,net,"WriteLocation",tempdir); metrics = evaluateSemanticSegmentation(pxdsResults,pxdsTruth); [login to view URL] [login to view URL] cm = confusionchart([login to view URL], ... classNames, Normalization ='row-normalized'); [login to view URL] = 'Normalized Confusion Matrix (%)'; imageIoU = [login to view URL]; figure histogram(imageIoU) title('Image Mean IoU') [minIoU, worstImageIndex] = min(imageIoU); minIoU = minIoU(1); worstImageIndex = worstImageIndex(1); worstTestImage = readimage(imds,worstImageIndex); worstTrueLabels = readimage(pxdsTruth,worstImageIndex); worstPredictedLabels = readimage(pxdsResults,worstImageIndex); worstTrueLabelImage = im2uint8(worstTrueLabels == classNames(1)); worstPredictedLabelImage = im2uint8(worstPredictedLabels == classNames(1)); worstMontage = cat(4,worstTestImage,worstTrueLabelImage,worstPredictedLabelImage); worstMontage = imresize(worstMontage,4,"nearest"); figure montage(worstMontage,'Size',[1 3]) title(['Test Image vs. Truth vs. Prediction. IoU = ' num2str(minIoU)]) [minIoU, worstImageIndex] = min(imageIoU); minIoU = minIoU(1); worstImageIndex = worstImageIndex(1); worstTestImage = readimage(imds,worstImageIndex); worstTrueLabels = readimage(pxdsTruth,worstImageIndex); worstPredictedLabels = readimage(pxdsResults,worstImageIndex); worstTrueLabelImage = im2uint8(worstTrueLabels == classNames(1)); worstPredictedLabelImage = im2uint8(worstPredictedLabels == classNames(1)); worstMontage = cat(4,worstTestImage,worstTrueLabelImage,worstPredictedLabelImage); worstMontage = imresize(worstMontage,4,"nearest"); figure montage(worstMontage,'Size',[1 3]) title(['Test Image vs. Truth vs. Prediction. IoU = ' num2str(minIoU)]) [maxIoU, bestImageIndex] = max(imageIoU); maxIoU = maxIoU(1); bestImageIndex = bestImageIndex(1); bestTestImage = readimage(imds,bestImageIndex); bestTrueLabels = readimage(pxdsTruth,bestImageIndex); bestPredictedLabels = readimage(pxdsResults,bestImageIndex); bestTrueLabelImage = im2uint8(bestTrueLabels == classNames(1)); bestPredictedLabelImage = im2uint8(bestPredictedLabels == classNames(1)); bestMontage = cat(4,bestTestImage,bestTrueLabelImage,bestPredictedLabelImage); bestMontage = imresize(bestMontage,4,"nearest"); figure montage(bestMontage,'Size',[1 3]) title(['Test Image vs. Truth vs. Prediction. IoU = ' num2str(maxIoU)]) evaluationMetrics = ["accuracy" "iou"]; metrics = evaluateSemanticSegmentation(pxdsResults,pxdsTruth,"Metrics",evaluationMetrics); [login to view URL]
Prosjekt-ID: 34865911

Om prosjektet

17 forslag
Eksternt prosjekt
Aktiv 2 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
Hi I am currently working on the semantic segmentation topic. I have been working with Matlab more than 15 years and i am totally familiar with this kind of error. Sure i can fix this issue. I'd be very happy to discuss this further and get started for you as soon as possible. Looking forward to your positive response soon :) Regards
$150 USD om 2 dager
5,0 (12 omtaler)
5,0
5,0
17 frilansere byr i gjennomsnitt $141 USD for denne jobben
Brukeravatar
Hello, good time Hope you are doing well I'm expert in MATLAB/Simulink and Python programming and by strong mathematical and statistical background, have good flexibility for solve your project. I have many experience practical and theoretical in implementation different algorithms (such as: state estimation and Kalman filter, design controller, analysis closed loop stability, signal and systems, signal processing, heuristic optimization, fuzzy logic, neural network and machine/deep learning fields). Evidence of this claim exist in the portfolio. I have read your project description and I can help you (without any plagiarism). Please send me the details of your project. Thanks for attention
$250 USD om 7 dager
5,0 (28 omtaler)
6,1
6,1
Brukeravatar
hi, how are you? my major is mathematics and computer science. So I am an expert of data analysis, dimension reduction, classification, regression, prediction, object detection, biometric recognition, etc. And I am very familiar with most of all ML and DL algorithms to implement them. Thus, I have rich experience and skills that I can complete your project. Main programming skills : Python, Matlab... I will solve your project perfectly and I try very hard. please contact me.
$100 USD om 3 dager
4,7 (26 omtaler)
4,8
4,8
Brukeravatar
Hello. Please send me all the MATLAB files in my inbox that you have for this project . Thankyou
$30 USD om 7 dager
4,9 (28 omtaler)
4,7
4,7
Brukeravatar
Hi I am ykutu who is a matlab programmer. I have rich experiences with optimization, numerical simulations,digital signal processing, image processing, control system design,simulink and so on. I have full experiences for debugging errors in matlab and did similar task in recent days for fixing errors for 3d learning in matlab. I have read your requirement and I think I can help you best for this project. Thanks for your reading. Best regards.
$100 USD om 1 dag
5,0 (2 omtaler)
3,3
3,3
Brukeravatar
Hi, Dear Employer, I have read your job post carefully. I can write clean, validated Machine Learning code and make a device-supported M. File. I have over 10+ years of experience at the ✔Machine Learning (ML) ✔Python ✔Matlab ✔C program, ✔C++ program ✔R program, ✔Algorithm ✔Statistics ✔java Please feel free and you may award me the task; I'd be happy and present you with the best products. Promise to work with 100% accuracy. Let's disuses this further via chat, and I'll your project right now. Thanks, Al. A.
$40 USD om 1 dag
3,1 (10 omtaler)
4,4
4,4
Brukeravatar
Hello, I have rich experience in Matlab coding. I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you correct and good results. I would appreciate it if you could contact me soon and share your project details. Thank you.
$100 USD om 1 dag
5,0 (2 omtaler)
2,6
2,6
Brukeravatar
Hi, Can you send me the code file with the dataset so that I can observe the error myself? Then I'll update you with my findings. Best wishes.
$140 USD om 7 dager
5,0 (1 omtale)
1,9
1,9
Brukeravatar
Hi i am Riyadhasnat. My career Beginning as an EEE engineer. I developed an intuitive feeling about MATLAB programming. I can write clean validated MATLAB code and make a device-supported ML file. I am an expert on "✔️MATLAB,✔️Python✔️Machine learning.✔️Algorithm.✔️C# Programming,✔️C Programming, ✔️C++ Programming and I have confidence say I'm excellent for your project. Let's remark on your project within the message box. Regards riyadhasnat06.
$140 USD om 2 dager
5,0 (1 omtale)
0,6
0,6
Brukeravatar
MATLAB AND MATHEMATICS EXPERT Hello, I have carefully gone through your project description and I would like to help you with this. Inbox to discuss this. Thanks
$250 USD om 7 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
I propose my service,for this project, I use Matlab every day, I make the project with that ect, I do the schematic..
$140 USD om 7 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hello! My name is Rimsha and I am an Electrical Engineering graduate. I am well-versed in MATLAB and Simulink, and have worked on multiple MATLAB-based Image Segmentation and Machine Learning projects. Client satisfaction and quality work is what I believe in!. I have read your job description and I believe, having the required expertise, I can handle the job well. I have excelled at numerous Image Processing and Machine Learning projects. Some of my recent works include: - Ancient coins reconstruction using CGANs - Classification of clothing items in e-commerce fashion industry using Xception model - Deep ConvNets based eye cancer detection - Engine fault diagnosis using ensemble learner - Hourly electricity power prediction system developed using ML regression techniques - Voice activity detection using machine learning I am quite new to this site but have previously worked at Fiverr for 4 years. Please have a look at my portfolio since you won't find any reviews on my profile yet. Just drop a message to discuss the project further. Looking forward to work with you! Best regards, Rimsha
$100 USD om 2 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
AI, ML DL, Computer Vision, NLP Expert Hello, thank you very much for your job posting. I am very interested in your project and think I am well suited for this role. I am a professional software engineer who have a wide range of skills in ML/DL/AI/Computer Vision. My Solid Skills are - Python, C - Machine Learning - Deep Learning - Neural Networks - Algorithm - Artificial Intelligence - Data Structures - Competitive Programming - NLP - Computer Vision(OpenCV) - PyTorch - Tensorflow - Reinforcement Learning I hope to hear from you soon to help you with your business needs. I am always open to a brief conversation or interview with you, BEST!
$175 USD om 12 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hi. How are you? I am expert in Matlab. I did many optimizations, numerical simulations, image processing, control system, simulink simulations using Matlab. I am ready to start your project immediately. If you award me, you will get the wonderful results. Thanks. Best regards.
$140 USD om 7 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hi, I am an Engineer by profession and have experience in MATLAB programming. I read your code and will modify it according to your need to evaluate segmentation results from the trained network and then saving the image results from segmentation. Let's have a chat to discuss details and finalize the project. Thanks
$160 USD om 3 dager
0,0 (0 omtaler)
3,1
3,1

Om klienten

EGYPTs flagg
Alexandria, Egypt
5,0
2
Betalingsmetode bekreftet
Medlem siden sep. 10, 2022

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.