Directly loading images from datastore doesn't work in different machine.

조회 수: 6 (최근 30일)
john
john 2022년 2월 17일
답변: yanqi liu 2022년 2월 17일
I have created a deep learning network. I stored all the workspace variables( datastores and lgraph which is the network) in .mat file.Now when I try to load this .mat file in another pc and load the lgraph it loads properly. But when I load the datastores. It seems like the datatstores aren't getting loaded. ( I think it's becoz the directory location of the ds doesn't exist ). So my question is how can I make this create these datastores in someone else's pc without running the whole code there again?
  댓글 수: 2
Image Analyst
Image Analyst 2022년 2월 17일
Well of course the images have to exist on the other PC. So put them there.
john
john 2022년 2월 17일
I can copy the images folder but again i will need to rewrite the path right?
isnt there any other way through which i can do this becoz I just want to train the network in different machine without opening my orginal source code there?

댓글을 달려면 로그인하십시오.

답변 (1개)

yanqi liu
yanqi liu 2022년 2월 17일
yes,sir,the datastore save the image path,so if change computer,may be set the same path and copy the image file to same folder;or regenerate the datastore by new folder path

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by