Testing the model
benkmoore opened this issue · 1 comments
Hi,
I'm just getting started with lua so some of my terminology may be wrong here.
I'm trying to test the cityscapes_label2image model on the cityscapes dataset. After installing the requirements I receive this error which I cant figure out.
I have lua 5.3.4 installed globally and 5.1 and 5.2 installed in torch/install/lib/lua.
I'm using /home/ben/torch/install/bin/luarocks 2.3.0.
Let me know if there's other info I need to provide to solve this.
DATA_ROOT=/home/ben/Documents/pix2pix/datasets/cityscapes name=cityscapes_label2image which_direction=AtoB phase=val th test.lua { input_nc : 3 results_dir : "./results/" name : "cityscapes_label2image" batchSize : 1 phase : "val" fineSize : 256 aspect_ratio : 1 how_many : "all" gpu : 1 DATA_ROOT : "/home/ben/Documents/pix2pix/datasets/cityscapes" serial_batch_iter : 1 preprocess : "regular" nThreads : 1 which_epoch : "latest" which_direction : "AtoB" cudnn : 1 serial_batches : 1 display : 1 output_nc : 3 loadSize : 256 checkpoints_dir : "./checkpoints" display_id : 200 flip : 0 } Random Seed: 7508 #threads...1 FATAL THREAD PANIC: (pcall) [string " local Queue = require 'threads.queue'..."]:1: module 'threads.queue' not found: no field package.preload['threads.queue'] no file '/home/ben/.luarocks/share/lua/5.2/threads/queue.lua' no file '/home/ben/.luarocks/share/lua/5.2/threads/queue/init.lua' no file '/home/ben/torch/install/share/lua/5.2/threads/queue.lua' no file '/home/ben/torch/install/share/lua/5.2/threads/queue/init.lua' no file '/home/ben/.luarocks/share/lua/5.1/threads/queue.lua' no file '/home/ben/.luarocks/share/lua/5.1/threads/queue/init.lua' no file '/usr/local/share/lua/5.1/threads/queue.lua' no file '/usr/local/share/lua/5.1/threads/queue/init.lua' no file '/usr/share/lua/5.1/threads/queue.lua' no file './threads/queue.lua' no file '/usr/local/lib/lua/5.1/threads/queue.lua' no file '/usr/local/lib/lua/5.1/threads/queue/init.lua' no file '/usr/share/lua/5.1/threads/queue/init.lua' no file '/home/ben/torch/install/lib/threads/queue.so' no file '/home/ben/.luarocks/lib/lua/5.2/threads/queue.so' no file '/home/ben/torch/install/lib/lua/5.2/threads/queue.so' no file '/home/ben/.luarocks/lib/lua/5.1/threads/queue.so' no file '/usr/local/lib/lua/5.1/threads/queue.so' no file './threads/queue.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/threads/queue.so' no file '/usr/lib/lua/5.1/threads/queue.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/home/ben/torch/install/lib/threads.so' no file '/home/ben/.luarocks/lib/lua/5.2/threads.so' no file '/home/ben/torch/install/lib/lua/5.2/threads.so' no file '/home/ben/.luarocks/lib/lua/5.1/threads.so' no file '/usr/local/lib/lua/5.1/threads.so' no file './threads.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/threads.so' no file '/usr/lib/lua/5.1/threads.so' no file '/usr/local/lib/lua/5.1/loadall.so'
Any help would be great, thanks!