• English
    • Latviešu
    • Deutsch
    • русский
  • Help
  • English 
    • English
    • Latviešu
    • Deutsch
    • русский
  • Login
View Item 
  •   DSpace Home
  • B4 – LU fakultātes / Faculties of the UL
  • A -- Eksakto zinātņu un tehnoloģiju fakultāte / Faculty of Science and Technology
  • Bakalaura un maģistra darbi (EZTF) / Bachelor's and Master's theses
  • View Item
  •   DSpace Home
  • B4 – LU fakultātes / Faculties of the UL
  • A -- Eksakto zinātņu un tehnoloģiju fakultāte / Faculty of Science and Technology
  • Bakalaura un maģistra darbi (EZTF) / Bachelor's and Master's theses
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Mašīnmācīšanās modeļu izpildes vidu salīdzinājums datorredzes uzdevumiem

Thumbnail
View/Open
302-109321-Tesnovs_Leonards_lt21026.pdf (2.733Mb)
Author
Tesnovs, Leonards
Co-author
Latvijas Universitāte. Eksakto zinātņu un tehnoloģiju fakultāte
Advisor
Ivanovs, Maksims
Date
2025
Metadata
Show full item record
Abstract
Šajā pētījumā tiek salīdzinātas mašīnmācīšanās modeļu izpildes vides. TensorFlow, PyTorch un ONNX Runtime tika novērtēti trīs datorredzes uzdevumos: attēlu klasifikācijā, objektu noteikšanā un attēlu ģenerēšanā. Eksperimentos tika izmantotas divas aparatūras konfigurācijas, mērot secinājumu laiku, resursu izmantošanu un modelim specifisku precizitāti, ar koda profilēšanu, lai identificētu veiktspējas vājās vietas. Rezultāti uzrādīja konsekventu modeļa precizitāti visās konfigurācijās, taču secinājumu laiks un resursu izmantošana atšķīrās. PyTorch saskārās ar vājajām vietām tenzoru konvertēšanā un pielāgotā algoritma ieviešanā. TensorFlow izcēlās objektu noteikšanā, savukārt ONNX klēpjdatorā nodrošināja ātrāko secinājumu veikšanu attēlu klasifikācijai un ģenerēšanai. Pētījuma izpildei izmantotais pirmkods atrodas vietnē https://github.com/limzikiki/BachelorCoursePaper.
 
This study compares Machine Learning model execution environments. TensorFlow, PyTorch, and ONNX Runtime were evaluated on three computer vision tasks: image classification, object detection, and image generation. Experiments used two hardware configurations, measuring inference time, resource utilisation, and accuracy, with code profiling to identify performance bottlenecks. Results showed consistent model accuracy across all setups, but inference time and resource usage varied. PyTorch faced bottlenecks in tensor conversions and the custom algorithm implementation. TensorFlow excelled in object detection, while ONNX on a Laptop delivered the fastest inference for image classification and generation. The source code used for the study execution is located at https://github.com/limzikiki/BachelorCoursePaper.
 
URI
https://dspace.lu.lv/dspace/handle/7/71471
Collections
  • Bakalaura un maģistra darbi (EZTF) / Bachelor's and Master's theses [6025]

University of Latvia
Contact Us | Send Feedback
Theme by 
@mire NV
 

 

Browse

All of DSpaceCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

My Account

Login

Statistics

View Usage Statistics

University of Latvia
Contact Us | Send Feedback
Theme by 
@mire NV