Code Monkey home page Code Monkey logo

voxel-dcgan's People

Contributors

maxorange 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voxel-dcgan's Issues

binvox dependency

I run into an issue when trying to run your code:

Traceback (most recent call last): File "train.py", line 3, in <module> import model File "/home/jarvis/GoogleDrive/UIUC_Grad/coursework/CS_598-RK/project/voxel-dcgan/model.py", line 3, in <module> import util File "/home/jarvis/GoogleDrive/UIUC_Grad/coursework/CS_598-RK/project/voxel-dcgan/util.py", line 3, in <module> import binvox ImportError: No module named binvox

Is binvox a module that you need to install through pip (I can't seem to find it online)? Or is it a module you wrote that you left out?

ValueError problem

When I input the folder which is full of binvox format files as input paths,
The when run the code train.py
The system show that:
ValueError: Tried to convert 'reduction_indices' to a tensor and failed. Error: Argument must be a dense tensor: range(0, 1) - got shape [1], but wanted [].

I tried a lot times I have not deal with it

Input data

Hi,
I have a question about the input data:

There are complete and incomplete .binvox files set as an Input, right ? If yes, what is ca. the percentage/ amount of this data ?

Thanks a lot !

Question about the last operation in the Discriminator

Hello there,
As I was going through your code, I was a bit puzzled by the last operation if the discriminator:
From 'model.py' file:
m = tf.matmul(h, self.W['md'])
m = tf.reshape(m, [-1, self.n_kernels, self.dim_per_kernel])
abs_dif = tf.reduce_sum(tf.abs(tf.expand_dims(m, 3) - tf.expand_dims(tf.transpose(m, [1, 2, 0]), 0)), 2)
f = tf.reduce_sum(tf.exp(-abs_dif), 2) + self.b['md']

    h = tf.concat(1, [h, f])
    y = tf.matmul(h, self.W['h5']) + self.b['h5']
    return y

Could you explain to me this operation?

Thank you :)

Problem with binvox and train.py

Hi.
Problems reg. binvox: I still have this two failures when executing the binvox file:

**********************************************************************
File ".../binvox.py", line 29, in __main__
Failed example:
    m1.scale
Expected:
    41.133000000000003
Got:
    41.133
**********************************************************************
File ".../binvox.py", line 60, in __main__
Failed example:
    np.all(ms.data[:, np.lexsort(ms.data)] == data_ds[:, np.lexsort(data_ds)])
Expected:
    True
Got:
    False
**********************************************************************
1 items had failures:
   2 of  18 in __main__
***Test Failed*** 2 failures.

Problems when executing train.py:

 File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/tensor_shape.py", line 741, in as_dimension
    return Dimension(value)
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/tensor_shape.py", line 217, in __init__
    raise TypeError(
TypeError: Dimension value must be integer or None or have an __index__ method, got value '128.0' with type '<class 'float'>'

Anybody has an idea or knows the solution for these 2 problems ?
I would appreciate it a lot. Thanks !

Problems about Dataset making

when I write like you shown in the "How to run the code", like below:
"
import glob
import os
import subprocess
import sys

voxsize = 32
paths = glob.glob("C:/Users/20185290/Desktop/New folder (4)/*.stl")
print ("number of data:", len(paths))

with open(os.devnull, 'w') as devnull:
for i, path in enumerate(paths):
cmd = "binvox -d {0} -cb -e {1}".format(voxsize, path)
ret = subprocess.check_call(cmd.split(' '), stdout=devnull, stderr=devnull)
if ret != 0:
print ("error", i, path)
else:
print (i, path)
"
It do not work, The system shows:

File "C:\Users\20185290\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\subprocess.py", line 957, in _execute_child
startupinfo)

FileNotFoundError: [WinError 2] The system cannot find the file specified

May I know what happen to the system?

The problem about binvox

When I download the file of binvox on ubuntu and move it to the /usr/local/bin . I can't ues the bash binvox.The error is command not found.

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.