Comments (6)
Hey @Bainily028,
you could also use blenderproc without installing it via pip. Simply clone it and then use python3 cli.py
instead of blenderproc
:
git clone https://github.com/DLR-RM/BlenderProc
cd BlenderProc
python3 cli.py run ...
from blenderproc.
@cornerfarmer
Okay, I got it. Thank you very much for your patient answer, it has been very helpful to me.
Wishing you a happy day! :>
from blenderproc.
Hey @Bainily028,
you cannot just move an installed pip package to a new location, as it contains hardcoded paths.
To install pip packages on offline systems, you could instead use e.g. this way: https://stackoverflow.com/a/14447068
from blenderproc.
Hello @cornerfarmer , thank you very much for your multiple replies and answers to my questions.
Your suggestion is useful, but my requirement may be more inclined to directly package the program and call it with a Python interpreter rather than installing it offline.
Therefore, I borrowed the method of #840. But similarly, the issues that arose in the #901 discussion sheet once again stopped me.
During the runtime, my code was able to successfully render and save the results correctly. But when the program ends running, there is no Blender quit
like when running a script with Blenderproc run
normally. Is this because running the program without a command line cannot release Blender related packages? And it seems to have caused a significant amount of memory leaks, with memory usage increasing linearly with each call to render. The information is shown in the following figure:
Because I saw no further discussion in #901. So I would like to ask you again for solutions to the relevant issues.Looking forward to your reply.
from blenderproc.
Hello @cornerfarmer , thank you for your prompt reply.
I have tried the method you suggested and I am glad it is effective.
But I noticed that running the program like this still requires downloading the blender or using the -- custom blender path
command to specify the location of the already downloaded blender. Taking into account #840 (the feature that blender3.4 can be called as a Python package). My original attempt was to use our own Python environment and modules, rather than running the program in the form of plugins. This seems to deviate from my original attempt.
So can we achieve the purpose proposed in discussion #840?
-
Using the
Python cli. py run xxx
command without downloading Blender (which seems difficult). -
Alternatively, using
Python xxx
does not result in the memory overflow situation I described last time.
from blenderproc.
Why can you not download blender on another machine, copy it and then use --custom-blender-path
? This seems to be the easiest solution.
I cannot give support for #840, as this is not an active feature of bproc and probably takes some effort to get to work.
from blenderproc.
Related Issues (20)
- BrokenPipeError during BOP dataset generation
- Code/assets to generate the rendering of falling objects in your demo video HOT 2
- Render process break down without error. HOT 2
- ModuleNotFoundError: No module named 'blenderproc' HOT 5
- Object location and rotation not rendered properly
- Questions about Generating Full Masks with Custom Datasets HOT 2
- How to generate depth images with the same parameters as my camera Zed2i ? HOT 2
- SSL certificate verification error HOT 2
- How to use Blenderproc without producing anything in root path HOT 7
- create_bvh_tree_multi_objects creates orphan meshes
- "Free(): invalid pointer" - during BOPWriter HOT 18
- Normalizing an imported object HOT 2
- Can I load light or camera configuration from .blend file? HOT 1
- How can I get bounding box of an entity?
- I met a simple problem when running blenderproc vis hdf5 output/0.hdf5 HOT 1
- Render Roughness Metallic or others
- Create long distance depth map using blenderproc for synthetic training dataset HOT 2
- Generating pose labels in quaternion and translation vector HOT 1
- ValueError: '000000' is not in list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blenderproc.