Giter Site home page Giter Site logo

ysymyth / 3d-sdn Goto Github PK

View Code? Open in Web Editor NEW
266.0 266.0 41.0 14.33 MB

[NeurIPS 2018] 3D-Aware Scene Manipulation via Inverse Graphics

Home Page: http://3dsdn.csail.mit.edu/

License: Other

Shell 0.39% Python 95.02% Cuda 1.71% C 2.86% C++ 0.02%
3d-sdn 3d-vision deep-learning disentangled-representations gans generative-adversarial-networks pytorch

3d-sdn's Issues

The MaskRCNN training on Cityscapes dataset

I use the provided code for training the Maskrcnn on the "Cityscapes" dataset. The command is as following:

image

However, after some 100 steps, I get the following error:
2019-01-24 6 12 49

And I check the size of the boxes, but the size is [0].

So could you please give me some advice for solving this problem.

Thanks a lot!

cupy package and its compatibility with CUDA 9

Hi,

I am following your guidelines and in the geometric branch (during test time), I face some problems with the cupy package. It seems it has some problems with the cuda compiler. I was wondering if by chance you have faced the same issue and know how to fix it.
Here is part of the error I get:

 File "/opt/conda/envs/3dsdn/lib/python3.6/site-packages/cupy/cuda/compiler.py", line 241, in compile
    nvrtc.compileProgram(self.ptr, options)
  File "cupy/cuda/nvrtc.pyx", line 98, in cupy.cuda.nvrtc.compileProgram
  File "cupy/cuda/nvrtc.pyx", line 108, in cupy.cuda.nvrtc.compileProgram
  File "cupy/cuda/nvrtc.pyx", line 53, in cupy.cuda.nvrtc.check_status
cupy.cuda.nvrtc.NVRTCError: NVRTC_ERROR_COMPILATION (6)

During handling of the above exception, another exception occurred:
...
  File "/opt/conda/envs/3dsdn/lib/python3.6/site-packages/cupy/manipulation/join.py", line 49, in concatenate
    return core.concatenate_method(tup, axis)
  File "cupy/core/core.pyx", line 2423, in cupy.core.core.concatenate_method
  File "cupy/core/core.pyx", line 2467, in cupy.core.core.concatenate_method
  File "cupy/core/core.pyx", line 2502, in cupy.core.core._concatenate
  File "cupy/core/elementwise.pxi", line 839, in cupy.core.core.ufunc.__call__
  File "cupy/util.pyx", line 39, in cupy.util.memoize.decorator.ret
  File "cupy/core/elementwise.pxi", line 638, in cupy.core.core._get_ufunc_kernel
  File "cupy/core/elementwise.pxi", line 33, in cupy.core.core._get_simple_elementwise_kernel
  File "cupy/core/carray.pxi", line 146, in cupy.core.core.compile_with_cache
  File "/opt/conda/envs/3dsdn/lib/python3.6/site-packages/cupy/cuda/compiler.py", line 164, in compile_with_cache
    ptx = compile_using_nvrtc(source, options, arch)
  File "/opt/conda/envs/3dsdn/lib/python3.6/site-packages/cupy/cuda/compiler.py", line 82, in compile_using_nvrtc
    ptx = prog.compile(options)
  File "/opt/conda/envs/3dsdn/lib/python3.6/site-packages/cupy/cuda/compiler.py", line 245, in compile
    raise CompileException(log, self.src, self.name, options)
cupy.cuda.compiler.CompileException: /opt/conda/envs/3dsdn/lib/python3.6/site-packages/cupy/core/include/cupy/carray.cuh(10): catastrophic error: cannot open source file "cuda_fp16.h"

1 catastrophic error detected in the compilation of "/tmp/tmpif65tvzr/kern.cu".
Compilation terminated.

Undefined name 'E_NLayers' in networks.py

Where is E_NLayers defined?

flake8 testing of https://github.com/ysymyth/3D-SDN on Python 3.7.1

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./textural/models/networks.py:96:16: F821 undefined name 'E_NLayers'
        netE = E_NLayers(input_nc, output_nc, ndf, n_layers=4, norm_layer=norm_layer,
               ^
./textural/models/networks.py:99:16: F821 undefined name 'E_NLayers'
        netE = E_NLayers(input_nc, output_nc, ndf, n_layers=5, norm_layer=norm_layer,
               ^
2     F821 undefined name 'E_NLayers'
2

MaskRCNN build fails

Hello,
I am trying to run your code but somehow I got error building maskrcnn module and receive error related to cuda can not be found.
image
/home/phong/miniconda3/envs/3dsdn/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/THC/THCGeneral.h:12:18: fatal error: cuda.h: No such file or directory #include "cuda.h"

I have used conda environment to install but so far I only receive this error, please help !

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.