You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm getting a tedious error running the cropping script for preprocessing the Celeb-A dataset,
ajay@ajay-h8-1170uk:~/TorchProjects/dcgan$ DATA_ROOT=celebA th data/crop_celebA.lua
/usr/local/bin/luajit: /usr/local/share/lua/5.1/image/init.lua:339: attempt to concatenate local 'ext' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/image/init.lua:339: in function 'load'
data/crop_celebA.lua:7: in main chunk
I tried to run the script line by line from TREPL using,
data = '/home/ajay/TorchProjects/dcgan/celebA/img_align_celeba'
for f in paths.files(data, function(nm) return nm:find('.jpg') end) do
f2 = paths.concat(data, f)
print(f2)
im = image.load(f2)
end
and got a similar error,
/home/ajay/TorchProjects/dcgan/celebA/img_align_celeba
/usr/local/share/lua/5.1/image/init.lua:339: attempt to concatenate local 'ext' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/image/init.lua:339: in function 'load'
[string "for f in paths.files(data, function(nm) retur..."]:4: in main chunk
Sorry about this I've been away from coding for a while?
The text was updated successfully, but these errors were encountered:
Hello, I'm getting a tedious error running the cropping script for preprocessing the Celeb-A dataset,
I tried to run the script line by line from TREPL using,
and got a similar error,
Sorry about this I've been away from coding for a while?
The text was updated successfully, but these errors were encountered: