Skip to content

Error could not found #77

@quintendewilde

Description

@quintendewilde

My celebA folder with all the images in is located at root of my folder dcgan.torch next to data, cache, images, generate.lua, etc..

when I run the train command, I get following error:

/Users/quintendewilde/torch/install/bin/luajit: ...ndewilde/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback] /Users/quintendewilde/projects/dcgan.torch/data/dataset.lua:202: Could not find any image file in the given input paths
stack traceback:
	[C]: in function 'assert'
	/Users/quintendewilde/projects/dcgan.torch/data/dataset.lua:202: in function '__init'
	...uintendewilde/torch/install/share/lua/5.1/torch/init.lua:91: in function <...uintendewilde/torch/install/share/lua/5.1/torch/init.lua:87>
	[C]: in function 'dataLoader'
	...intendewilde/projects/dcgan.torch/data/donkey_folder.lua:82: in main chunk
	[C]: in function 'dofile'
	/Users/quintendewilde/projects/dcgan.torch/data/data.lua:42: in function </Users/quintendewilde/projects/dcgan.torch/data/data.lua:32>
	[C]: in function 'xpcall'
	...ndewilde/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
	...tendewilde/torch/install/share/lua/5.1/threads/queue.lua:65: in function <...tendewilde/torch/install/share/lua/5.1/threads/queue.lua:41>
	[C]: in function 'pcall'
	...tendewilde/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
	[string "  local Queue = require 'threads.queue'..."]:13: in main chunk
stack traceback:
	[C]: in function 'error'
	...ndewilde/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
	...ndewilde/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize'
	...ndewilde/torch/install/share/lua/5.1/threads/threads.lua:142: in function 'specific'
	...ndewilde/torch/install/share/lua/5.1/threads/threads.lua:125: in function 'Threads'
	/Users/quintendewilde/projects/dcgan.torch/data/data.lua:30: in function 'new'
	main.lua:38: in main chunk
	[C]: in function 'dofile'
	...ilde/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: at 0x01081f8cf0

Does celebA need to be in a subfolder. And does celebA need subfolder with groups of images, because mine just contains all the pictures.

I'm finally almost there to get this to work after very long trail and error :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions