Comments (11)
Hi, thanks for reporting this. Yes, this sounds like the correct workflow.
The png
files with the strange names are the inputs that chordatlas writes out for bikegan to process. Once the go
file is written, bikegan should automatically i) process these to outputs, ii) delete the go
file and inputs, and iii) write the output to the bikegan output folder.
Some questions (if you don't want to post then answers on a public forum, email me:
1/ What is the (exact) bikegan root that you set in chordatlas?
2/ Which operating system are you using?
3/ After the inputs are written, is there any additional output from bikegan?
from chordatlas.
One more thought I had while cycling to work: you must have to docker (or nvidia-docker) running as the same user as chordatlas. (i.e. you shouldn't be running docker with sudo
). You can add your user to the same group with these instructions. You then have to restart your computer.
This is because bikegan uses python's watchdog
to listen for new input, and it doesn't work across users under docker. This probably means the docker version won't work under windows :(
from chordatlas.
No comment back for a month; closing issue :(
from chordatlas.
Sorry about the delay - was on extended vacation. I have a suspicion that the error is due to the machine that I am constrained under, and I am trying to move the code over to another machine. Will let you know if a problem still exists!
from chordatlas.
I have moved to a system with no constraints but this problem seems to persist - would you be fine if we reopened the issue?
I am not running docker with sudo - I am running as kwlee (me), which I have put into the docker group.
To answer your questions:
- The exact BikeGAN root that I am using is (and I have read / write permissions in this directory)
/home/kwlee/bikegan_temp
. (I have also tried/home/kwlee/bikegan_temp/
with the extra slash in the end, if that makes a difference) - My system is Ubuntu 14.04.5 LTS.
- there are no additional outputs from bikeGAN beyond the following:
model [BiCycleGANModel] was created
all nets up
[network super10 is awaiting input]
If I run ps aux | grep "test_interactive.py"
, I see the following:
1000 25356 4.8 3.5 49243592 2339560 pts/0 Sl+ 15:33 0:09 python /home/user/bikegan/test_interactive.py
which means that user 1000 is running the script, not me. Does that make a difference?
I also have a feeling that this may be related to this issue that I opened on BikeGAN. Perhaps my solution of using relative path names is causing more problems than I expected.
from chordatlas.
Hey, hope you had a great holiday! Yes it would be great to get to understand what is happening.
I have a clean ubuntu install at home; I'll try to reproduce your workflow tonight.
from chordatlas.
I ran the same system without nvidia-docker according to instructions here and it worked perfectly! Perhaps it is a problem with permission settings with docker then.
from chordatlas.
Great that you got it to work! If you use the project for anything, I'd love to know - it all helps with future funding etc..
I found a couple of issues with the docker container, so I rebuilt it...I'm not certain these were causing your problems though.
Two thoughts:
- I notice that you omitted the
pwd
bit when starting the docker container - when I tried this, docker didn't deal well with relative paths - The
input
andoutput
folders need to exist before you start the container. When the container starts it should populateinput
with the different input points for the networks. I updated the instructions to make this clear.
It would be great if you can test my new image. Create a new temporary director, cd
into it, and run
mkdir input output
nvidia-docker run -v $(pwd)/input:/home/user/bikegan/input -v $(pwd)/output:/home/user/bikegan/output -it --rm twak/bikegan
I can run docker with sudo fine now, so I don't think this is the problem.
from chordatlas.
I tried the new image and I'm still running into the same issue described here, where I get many permission denied errors. If I remove the $(pwd) bit, that doesn't give the permission denied errors, but then the script hangs as describes. Let me know if any more information about my system would be helpful!
from chordatlas.
thanks for trying - do both the input
and output
folders exist before you start the image? If I don't create input and output I get similar error messages:
PermissionError: [Errno 13] Permission denied: './input/door textures'
Then it creates the folders with the wrong permissions (root). ls -la
gives:
drwxr-xr-x 56 twak twak 4096 Feb 21 18:34 ..
drwxr-xr-x 2 root root 4096 Feb 21 18:45 input
drwxr-xr-x 2 root root 4096 Feb 21 18:45 output
Further runs cannot write to these folders (and I guess neither can chordatlas).
if I do sudo rm -rf input output
, then mkdir input output
(from your non-root account), it works.
In other news, if I run without pwd (nvidia-docker run -v input:/home/user/bikegan/input -v output:/home/user/bikegan/output -it --rm twak/bikegan
) it doesn't create input, or output, in the current directory, so I don't know where the output would go!
from chordatlas.
I'm going to assume that the previous reply fixed the problem. Shout if this is still an issue...I can't reproduce it any other way.
from chordatlas.
Related Issues (20)
- Problem with Glasgow dataset and related error HOT 6
- windows build fails to find CRS EPSG:27700 HOT 12
- no GurobiJni75 in java.library.path HOT 3
- Compiling Dataset - in tweed.xml, what is toOrigin and fromOrigin? HOT 3
- MiniTransform Bug? HOT 2
- Audio rendering - org.lwjgl.LWJGLException: Could not locate OpenAL library HOT 1
- Error running super resolution FrankenGAN with ObjSkelGen HOT 2
- Compilation failure with "org.twak.utils.geom.ObjDump" HOT 1
- integrated obj model export HOT 3
- Unable to load meshes when trying to port to Gurobi 9.0.2 HOT 7
- Docker Build Error HOT 5
- some questions of running with my own dataset HOT 5
- problems about the gis data HOT 3
- after importing tweedstreets, tools failed to load HOT 4
- Utils folder HOT 1
- Own Data Information HOT 1
- street information HOT 4
- Problems with importing obj file and converting to skeleton format HOT 6
- Is bigsur necessary to use bikegan? Can bikegan handle noisy mesh directly? HOT 5
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 chordatlas.