GithubHelp home page GithubHelp logo

3d-r2n2-pytorch's People

Contributors

heromanba 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

Watchers

 avatar

3d-r2n2-pytorch's Issues

Pretrained Model Information

Dear author, could you provide us with information about the training that was done to obtain the pretrained model(ResidualGRUNet), such as the configuration used, the hardware, etc.
Thanks in advance.

Problems When I Training

I had the following problems during training, I guess there are some problem in the loop in the forward function in base_gru_net. I'm looking forward to your help!

Traceback (most recent call last):
File "main.py", line 121, in
main()
File "main.py", line 111, in main
train_net()
File "/home/may/下载/3D-R2N2-PyTorch-master/lib/train_net.py", line 22, in func_wrapper
return func(*args, **kwargs)
File "/home/may/下载/3D-R2N2-PyTorch-master/lib/train_net.py", line 75, in train_net
solver.train(train_queue, val_queue)
File "/home/may/下载/3D-R2N2-PyTorch-master/lib/solver.py", line 113, in train
loss = self.train_loss(batch_img, batch_voxel)
File "/home/may/下载/3D-R2N2-PyTorch-master/lib/solver.py", line 67, in train_loss
loss = self.net(x, y, test=False)
File "/home/may/anaconda2/envs/py3torch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/may/下载/3D-R2N2-PyTorch-master/models/base_gru_net.py", line 76, in forward
gru_out, update_gate = self.encoder(x[time], h, u, time)
File "/home/may/anaconda2/envs/py3torch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
TypeError: forward() takes 4 positional arguments but 5 were given
[INFO/MainProcess] process shutting down
[INFO/MainProcess] calling join() for process ReconstructionDataProcess-6

code question

Thank you for your work.When I test on your code ,I do not understand why the second parameter is 2.
1

When the input is torch.randn(5, 1, 3, 127, 127), I get the result [1,2,32,32,32] ,I do not understand why the second parameter of result is 2.Waiting for your reply!

Some problems with pre-training models and training.

Hi, thank you for your wonderful work. I can already train. I would like to ask some questions about the pre-trained model. First, is the model obtained by training all categories of Shapenet? I tested the reconstruction effect of a single plane and it was not ideal. Second, whether to output the model file during training. Third, whether to provide an evaluation code.

Looking forward to your reply

cant download .pth filr

Drive link is not working, neither I have a biadu account. How can I download the weights?

Not able to reproduce results in Fig 4a

I tried passing a 2D image of the plane from PASCAL VOC dataset to replicate the results shown in Fig. 4a. The image attached below was passed. However, while running demo.py, the result is not as expected.
0

The output generated looks like this which is nowhere near to the structure seen in the 2D image.
image

Is there anything that needs to be taken care of? Thanks in advance!

Update: in the paper, the network has been fine-tuned on PASCAL 3D+ dataset. Are those weights available?

About train problem

When I was training, the following problems occurred in the middle of my training.
looking forward to your reply.

2020-09-08 09:50:59.346583 Iter: 2880 Loss: 0.171822
Wait until the dataprocesses to end
Traceback (most recent call last):
File "main.py", line 121, in
main()
File "main.py", line 111, in main
train_net()
File "/home/zyz/Project/3D-R2N2-PyTorch/lib/train_net.py", line 24, in func_wrapper
return func(*args, **kwargs)
File "/home/zyz/Project/3D-R2N2-PyTorch/lib/train_net.py", line 84, in train_net
solver.train(train_loader, val_loader)
File "/home/zyz/Project/3D-R2N2-PyTorch/lib/solver.py", line 117, in train
loss = self.train_loss(batch_img, batch_voxel)
File "/home/zyz/Project/3D-R2N2-PyTorch/lib/solver.py", line 65, in train_loss
loss = self.net(x, y, test=False)
File "/home/zyz/anaconda3/envs/3D-R2N2/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/zyz/Project/3D-R2N2-PyTorch/models/base_gru_net.py", line 76, in forward
gru_out, update_gate = self.encoder(x[time], h, u, time)
File "/home/zyz/anaconda3/envs/3D-R2N2/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/zyz/Project/3D-R2N2-PyTorch/models/res_gru_net.py", line 155, in forward
t_x_s_update = self.t_x_s_update(rect7, h)
File "/home/zyz/anaconda3/envs/3D-R2N2/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/zyz/Project/3D-R2N2-PyTorch/lib/layers.py", line 45, in forward
out = self.fc_layer(fc7).view(*target_shape) + self.conv3d(h) + self.bias
RuntimeError: The size of tensor a (5) must match the size of tensor b (12) at non-singleton dimension 0

Problem when i ran demo.py

Traceback (most recent call last):
File "demo.py", line 90, in
main()
File "demo.py", line 67, in main
net.load(DEFAULT_WEIGHTS) # load downloaded weights
File "/home/zhangq/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 518, in getattr
type(self).name, name))
AttributeError: 'ResidualGRUNet' object has no attribute 'load'

hello,对于真实图片重建的一些问题

hello,作者你好,如果我想对真实物体进行重建尝试,比如在白色幕布面前拍摄的椅子等图片。
请问您知道应该采用什么样的方式对真实照片进行预处理吗?

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.