Comments (9)
The error is "cannot find any image file in the given directory". Could you make sure that you set the image directory DATA_ROOT correctly?
from pix2pix.
Same here, fresh install following the README on the latest MacBook Pro.
DATA_ROOT=./datasets/facades name=facades_generation which_direction=BtoA th train.lua
fails with the same error, and I confirmed ls ./datasets/facades
returns test/ train/ val/
.
from pix2pix.
I had the same problem.
Adding env before whole command hleped.
env DATA_ROOT=./datasets/facades name=facades_generation which_direction=BtoA th train.lua
from pix2pix.
Ah, there was an obscure error before that:
/tmp/lua_f46sBl: line 1: gfind: command not found
So I installed gfind
with brew install findutils
and this issue was solved. (You might also need to install coreutils
as well)
Maybe install script needs to take care of this?
from pix2pix.
I had another error saying module 'cunn' not found:No LuaRocks module found for cunn
after this and I had to:
luarocks install clnn
Then I had another error that says
Please install cltorch from https://github.com/hughperkins/distro-cl
and lastly I found this:
$ git clone --recursive https://github.com/hughperkins/distro -b distro-cl ~/torch-cl
$ cd ~/torch-cl
$ bash install-deps
Already up-to-date.
Warning: readline is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: cmake-3.7.1 already installed
Warning: wget-1.18 already installed
Error: git-2.10.2 already installed
To install this version, first `brew unlink git`
qt: This formula either does not compile or function as expected on macOS
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.
So it won't work on macOS Sierra yet? :(
from pix2pix.
I'm newbie.
I had same error when set path contains tif image files.
But when I set path contains jpg image files, there wasn't problem.
Is it impossible to import tif image files?
from pix2pix.
Hi ilsang, It seems that "image.load" doesn't work for TIF format. You can find a related discussion at stackoverflow. You can also convert TIF to JPG/PNG offline.
from pix2pix.
Im having same issue with gfind and gwc but installing coreutils throws up an error installing (findutils seems to install ok)
Last 15 lines from /Users/ashleybrown/Library/Logs/Homebrew/coreutils/03.make:
src/ginstall -c -m 644 'man/unlink.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gunlink.1'
src/ginstall -c src/uniq '/usr/local/Cellar/coreutils/8.27/bin/./guniq'
src/ginstall -c -m 644 'man/vdir.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gvdir.1'
src/ginstall -c src/unlink '/usr/local/Cellar/coreutils/8.27/bin/./gunlink'
src/ginstall -c -m 644 'man/wc.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gwc.1'
src/ginstall -c src/vdir '/usr/local/Cellar/coreutils/8.27/bin/./gvdir'
src/ginstall -c -m 644 'man/whoami.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gwhoami.1'
src/ginstall -c src/wc '/usr/local/Cellar/coreutils/8.27/bin/./gwc'
src/ginstall -c src/whoami '/usr/local/Cellar/coreutils/8.27/bin/./gwhoami'
src/ginstall -c -m 644 'man/yes.1' '/usr/local/Cellar/coreutils/8.27/share/man/man1/gyes.1'
src/ginstall -c src/yes '/usr/local/Cellar/coreutils/8.27/bin/./gyes'
src/ginstall -c src/ginstall '/usr/local/Cellar/coreutils/8.27/bin'
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
coreutils formula: incorrect $MANPAGES instructions https://github.com/Homebrew/homebrew-core/issues/14273
coreutils manpage not recognized by touchbar https://github.com/Homebrew/homebrew-core/issues/14262
Error: You are using macOS 10.9.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
from pix2pix.
It seems that all I had to do was upgrade to Mac OSX 10.12 and the latest xCode and it allowed me to install the xcode command line tools and coreutils so the above errors stopped.
brew link --overwrite coreutils
fixed the link error
Now it seems to be able to run the train command on the cpu (its been going for the last 12 hours)
from pix2pix.
Related Issues (20)
- can i change the input of discrime-net ?
- Question: Running [make_dataset.py] with the sample data set causes an error HOT 1
- About use my own dataset for test
- Input to generator
- pix2pix with 16-bit channels? HOT 1
- RuntimeError
- fcn-8s-cityscapes weight link failure HOT 3
- How should I modify the model(G and D) structure if my input are all one-hot encoded matrix(3-D tensor) which only contains either 0 or 1 HOT 1
- Size for evaluation in Photo2Label task with cityscapes datasets HOT 1
- the code for evaluation in Photo2label of datasets-cityscapes might be wrong? HOT 1
- pytorch or tensorflow??? HOT 1
- Getting Started Installation Instructions. HOT 2
- About the receptive field of the discriminator achitecture HOT 2
- Easy idea about increasing pix2pix target underestanding HOT 1
- something to help people visualise)
- How to make Custom Pix2Pix model, please use if you want
- If it's possible to modify pix2pix for the vector but not image data? HOT 3
- hi is any one online here? please ping me i want to discuss the issues i am facing while installing the torch requirements HOT 4
- Google Colab Notebook
- Take two inputs for one output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pix2pix.