cheind / pytorch-blender

:sweat_drops: Seamless, distributed, real-time integration of Blender into PyTorch data pipelines
MIT License
562 stars 44 forks source link

Added setup.py to install it as a module #1

Closed FrancescoPinto closed 4 years ago

FrancescoPinto commented 4 years ago

I have written a draft of setup.py file to install it as a module.

cheind commented 4 years ago

Thank you Francesco! I'm reviewing the dependencies in setup.py and stumbled upon 'pydotplus==2.0.2', 'pyyaml>=3.13'. Could you explain where they are required? Or are they installed part of other dependencies and are thus not required to be named explicitly?

cheind commented 4 years ago

Out of interest: how did you find out about the project and what's your use case?

FrancescoPinto commented 4 years ago

Thank you Francesco! I'm reviewing the dependencies in setup.py and stumbled upon 'pydotplus==2.0.2', 'pyyaml>=3.13'. Could you explain where they are required? Or are they installed part of other dependencies and are thus not required to be named explicitly?

As far as I know, it is not needed, just a copy-paste remainder from a template setup.py document

FrancescoPinto commented 4 years ago

Out of interest: how did you find out about the project and what's your use case?

I was having some problems running a python script using both bpy and pytorch (giving me a std::exception error) when running blender in background mode when I stumbled across your repository. I am trying to use blendtorch as a workaround to this issue. The final goal is to train a generative model for 3D reconstruction exploiting also synthetic data.

cheind commented 4 years ago

Ah that's interesting. That's what pytorch-blender is meant for. If you write a paper, I'd be happy to read it!

Best, Christoph

On Wed, Jan 15, 2020 at 7:16 PM FrancescoPinto notifications@github.com wrote:

Out of interest: how did you find out about the project and what's your use case?

I was having some problems running a python script using both bpy and pytorch (giving me a std::exception error) when running blender in background mode when I stumbled across your repository. I am trying to use blendtorch as a workaround to this issue. The final goal is to train a generative model for 3D reconstruction exploiting also synthetic data.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cheind/pytorch-blender/pull/1?email_source=notifications&email_token=AAAJNJM2HYXOLEZZYGOEQ4LQ55HJDA5CNFSM4KHHGDMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBITHY#issuecomment-574785951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAJNJPE4JG2OIWI5AU6CSLQ55HJDANCNFSM4KHHGDMA .

cheind commented 4 years ago

not sure about merging this, as the PR mixes a couple of things. Leave it open for now, as I'm planning to move to 2.8 Blender support soon.

cheind commented 4 years ago

obsolete with current release.