Code Monkey home page Code Monkey logo

surfacenetworks's Issues

Could you share the preprocessing code?

I would like to try running ModelNet40 classification task and hard to find preprocessing the data.
Could you share the code for the preprocessing?
Thank you.

Question about evaluation

Hello again.

So, i've launched "as_rigid_as_possible" experiment, trained a model, it saved in the pts folder. But what's next? How to use it to draw something?

Issues running main.py in mesh_mnist and main.py in dense_correspondence

In line 104 of main.py in mesh_mnist:
Di.append(samples[ind]['Di'])
It has errors as KeyError. But I couldn't understand where is 'Di' in samples which are training dataset.

In line 255~259 of main.py in dense_correspondence. It also has errors as log doesn't exist. I wonder how can I run the code without existing log files?

Issues running your code

Hello,

First, thank your for publishing your code here :)

I would like to run the neural network to test it, and try to adapt it to what I want to do.

I succeded to preprocess the data, by running add_laplacian.py on my meshes.

But now, I don't understand what to do next. I didn't find any documentation about it, except the first readme.

I tried to run train_4_normals.py, but I have issues for missing modules :

ModuleNotFoundError: No module named 'pyigl'

It seems it is related to what you wrote in the Readme :
(optional)Python bindings for libigl is used for geometry processing. It's not required for reproducing the experiment, but if you would like to recompute Laplacian, Dirac etc, it would be convenient to install through pip install git+https://github.com/jiangzhongshi/libigl@cluster-pyigl#egg=pyigl

However, this command doesn't work anymore, it can't find the correct branch.

Can you help me a bit, by telling what I'm doing wrong, or what I have to do ?

Best Regards,
Vlad

error in main.py-> line 106/107

'Di.append(samples[ind]['Di'])
DiA.append(samples[ind]['DiA'])':
KeyError:'Di'

i looked into the samples and saw no elements named 'Di' nor 'DiA'...
should them be 'V' and 'F' instead?

thank u ;)

Issues running mesh_mnist/main.py

Hello and thanks for your code.

Don't know if i'll get any answers, but anyway.

I'm trying to launch main.py (with default settings) in mesh_mnist folder (i've downloaded mesh mnist of course from the google drive links). Training crashes on the line:
outputs = model(inputs, laplacian, mask)

If we'll look deeper, it crashes here:
xs = [x, torch.mm(L,x.view(-1, feat)).view(batch, node, feat)] (167 line of src/utils/utils_pt.py file).

It says The expanded size of the tensor (64) must match the existing size (503) at non-singleton dimension 0. Target sizes: [64, 64]. Tensor sizes: [503, 64]

It is torch.mm failing because L is (64,503,503) and x.view(-1, feat) is (32192, 64). By the way, as i know, torch.mm uses 2D tensors as input, no? Well, does anyone launched that and could advice something?

cupy.cuda.driver.CUDADriverError: CUDA_ERROR_NOT_INITIALIZED: initialization error

Thank you for the great code!
I have a problem. When i run the program on gpu, the output is as follows:

Load data Preprocess Dataset 100% (60000 of 60000) |####################| Elapsed Time: 0:00:20 Time: 0:00:20 100% (10000 of 10000) |####################| Elapsed Time: 0:00:03 Time: 0:00:03 Num parameters 90314 N/A% (0 of 937) | | Elapsed Time: 0:00:00 ETA: --:--:--Traceback (most recent call last): File "main.py", line 213, in <module> main() File "main.py", line 155, in main outputs = model(inputs, laplacian, mask) File "/home/jiang/work/ping/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 357, in __call__ result = self.forward(*input, **kwargs) File "/home/jiang/work/ping/SurfaceNetworks/src/mesh_mnist/models.py", line 43, in forward x = self._modules['rn{}'.format(i)](L, mask, x) File "/home/jiang/work/ping/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 357, in __call__ result = self.forward(*input, **kwargs) File "/home/jiang/work/ping/SurfaceNetworks/src/utils/utils_pt.py", line 125, in forward xs = [x, SparseBMMFunc()(L, x)] File "/home/jiang/work/ping/SurfaceNetworks/src/utils/cuda/sparse_bmm_func.py", line 39, in forward col_ind, col_ptr = batch_csr(matrix1._indices(), matrix1.size()) File "/home/jiang/work/ping/SurfaceNetworks/src/utils/cuda/batch_csr.py", line 39, in __call__ m.load(bytes(ptx.encode())) File "cupy/cuda/function.pyx", line 175, in cupy.cuda.function.Module.load File "cupy/cuda/function.pyx", line 176, in cupy.cuda.function.Module.load File "cupy/cuda/driver.pyx", line 141, in cupy.cuda.driver.moduleLoadData File "cupy/cuda/driver.pyx", line 72, in cupy.cuda.driver.check_status cupy.cuda.driver.CUDADriverError: CUDA_ERROR_NOT_INITIALIZED: initialization error 100% (937 of 937) |########################| Elapsed Time: 0:00:00 Time: 0:00:00

Is there any problem with my operation?

System information

  • Python version: 2.7.15
  • CUDA/cuDNN version: 10.0.130 / 7.5.0
  • GPU model and memory: Nvidia GeForce GTX 980
  • Nvidia driver version: 410.48
  • Linux Ubuntu 18.04

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.