Coder Social home page Coder Social logo

shape2prog's People

Contributors

hobbitlong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

shape2prog's Issues

RenderNet LSTM

For the Rendernet, I assumed each part of the program would go through the LSTM sequentially, but it looks each batch only goes through the LSTM once:

out, hidden = self.lstm(x, init)

Plus, the hidden state is reset with each forward pass.
Maybe I'm missing something, but why use an LSTM in a nonrecurrent manner? I guess the gates could still work but I feel like it would be less effective that way.

Edit: Nevermind, for some reason my only experience with nn.LSTM has been passing the sequence in one part at a time in a for loop. But the documentation indicates you can pass the sequence in all at once.

Cannot run the test script

Hi,

Very good work! I am now trying to run the test script as suggested, but it failed. Below are some steps to run, could you please help advise?

  1. Install
    a. I use the docker with Ubuntu 16.04, CUDA 9.0, CUDNN 7.0
    b. I use conda to create the environment:
    conda create -n shapeprog python=3.5
    activate env
    pip install -r requirements.txt

  2. Run the test script
    a. download data as suggested
    b. run the script: CUDA_VISIBLE_DEVICES=0 python test.py --model ./model/program_generator_GA_chair.t7 --data ./data/chair_testing.h5 --save_path ./output/chair/ --save_prog --save_img

  3. Error message
    ========= arguments =========
    Test: epoch 0 batch 0/32, time=0.392
    Test: epoch 0 batch 10/32, time=0.219
    Test: epoch 0 batch 20/32, time=0.218
    Test: epoch 0 batch 30/32, time=0.219
    Mean IoU: 0.560
    Traceback (most recent call last):
    File "test.py", line 177, in
    run()
    File "test.py", line 160, in run
    out.write(program)
    UnicodeEncodeError: 'ascii' codec can't encode character '\xb0' in position 186: ordinal not in range

I have tried python 3.6, it gives the same error.

Unable to download data and model. Project Page down.

When I try to run download.sh, the connection times out with the wget commands. Trying to access the project page via web browser results in a timeout as well. Any idea if that can be fixed?

Looks like page and downladables are back up. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.