lua---nnx icon indicating copy to clipboard operation
lua---nnx copied to clipboard

DataSetLabelMe try to attempt sys.filep but there is no filep in the sys package

Open at0mb0y opened this issue 9 years ago • 2 comments

I installed the luarocks sys but it seems the filep function doesnt exist. no trace of it in the code of sys on github and it's not mentioned in the doc. When I run a program that use DataSetLabelMe it returns :
DataSetLabelMe.lua:59 attempt to call field filep(a nil value)

the line 59 is : if sys.filep(paths.concat(self.path,path_images,folder)) then

best regards

ps: I'm on Ubuntu. it may change something, I saw on the sys doc that some functions don't exist on other OS

at0mb0y avatar Oct 22 '15 09:10 at0mb0y

you can change that to paths.filep now

soumith avatar Oct 22 '15 14:10 soumith

Thank you, it solves this problem. Do you know if DataSetLabelMe can handle the sift flow Dataset. http://www.cs.unc.edu/~jtighe/Papers/ECCV10/ I'm trying to use it to load this dataset but the the .mat file are not processed, it tries to open them as png file. The masks should be in Png ? How the data should be organized in order to be correctly loaded ? an Images, Masks and Annotations folder. In images, the image in jpg, and masks and Annotations are .mat files. (matlab is on the computer) strangely, it tries to download the Masks files as Png file. I am missing something ? is it suppose to open matlab files and extract the data for training ?

at0mb0y avatar Oct 23 '15 09:10 at0mb0y