GithubHelp home page GithubHelp logo

zumolabs / zpy Goto Github PK

View Code? Open in Web Editor NEW
291.0 10.0 33.0 30.01 MB

Synthetic data for computer vision. An open source toolkit using Blender and Python.

License: GNU General Public License v3.0

Python 98.45% Shell 1.55%
ml ai data synthetic blender python synthetic-data blender-addon deep-learning computer-vision

zpy's Introduction

zpy: Synthetic data in Blender.

Discord Twitter Youtube PyPI Docs

Synthetic raspberry pi

Abstract

Collecting, labeling, and cleaning data for computer vision is a pain. Jump into the future and create your own data instead! Synthetic data is faster to develop with, effectively infinite, and gives you full control to prevent bias and privacy issues from creeping in. We created zpy to make synthetic data easy, by simplifying the simulation (sim) creation process and providing an easy way to generate synthetic data at scale.

Check out our full documentation ๐Ÿ“‘

Read the zpy_paper

Check out our new script writing guide

Install ๐Ÿค”

You can install zpy with pip:

pip install zpy-zumo

More installation instructions can be found in the docs:

Contribute ๐Ÿ‘ฅ

We welcome community contributions! Search through the current issues or open your own.

License ๐Ÿ“„

This release of zpy is under the GPLv3 license, a free copyleft license used by Blender. TLDR: Its free, use it!

If you use zpy in your research, we would appreciate the citation!

@misc{zpy,
  title={zpy: Synthetic data for Blender.},
  author={Ponte, H. and Ponte, N. and Crowder, S.},
  journal={GitHub. Note: https://github.com/ZumoLabs/zpy},
  volume={1},
  year={2021}
}

zpy's People

Contributors

bot-zumo avatar godber avatar hu-po avatar kant avatar keatonwilliamson avatar kory-stiger avatar kursad-k avatar nponte-zumo avatar sammiezumo avatar steven-zumo avatar swpecht 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

zpy's Issues

cli Login Improvements

  • Get password and username from terminal input
  • Get credentials file from WebApp
  • Pop up chrome tab with login

Empty Image Previews

Image previews are empty probably due to the new names:
Image previews are broken until this goes through:
image

Objects being removed when rendering 360+ images.

Describe the bug
I have 10 items that I am trying to segment but some objects disappear in the frame once I reach about the 360th image. After the 360th image, all objects disappear from the scene and then I am left with the HDR on a normal background. Is this supposed to happen? How can we stop this from happening so that the full set of images I produce have at least one object in them.

EDIT: Just did it again for 360 images in total and the objects started disappearing at around the 200 image mark. From then onwards, I just had a hdri with no objects in the foreground.

To Reproduce
Steps to reproduce the behavior:

  1. create blend file with segmentable meshes
  2. generate large number of images (360+)

Expected behavior
I expected every frame to have a object in them.

Desktop (please complete the following information):

  • OS: Mac OSX Catalina 10.15
  • Blender 2.92
  • ZPY Version 1.0

Sign Up Email

Email a welcome message with links to documentation and instructions when people create an account with their email.

AOV Pass Error

Describe the bug
A key error is occurring in zpy. Can you help me figure out how to fix this?

To Reproduce
Steps to reproduce the behavior:
I have followed the Suzanne script from the first video of the youtube channel.

Expected behavior
To save and render the images.

Screenshots
File "/Applications/Blender.app/Contents/Resources/2.91/python/lib/python3.7/site-packages/zpy/render.py", line 42, in make_aov_pass
view_layer['aovs'][-1]['name'] = style
KeyError: 'bpy_struct[key]: key "aovs" not found'
In call to configurable 'make_aov_pass' (<function make_aov_pass at 0x1576194d0>)
In call to configurable 'make_aov_file_output_node' (<function make_aov_file_output_node at 0x15761db00>)
In call to configurable 'render_aov' (<function render_aov at 0x157623560>)
Error: Python script failed, check the message in the system console
Executing script failed with exception Error: Python script failed, check the message in the system console

Desktop (please complete the following information):

  • OS: Mac OS Catalina 10.15.5
  • latest zpy

Error to install addon

I'm trying to install the addon v0.9.9, but I get the below error, I am stuck and I don't know how to fix it.

Traceback (most recent call last):
File "/app/blender/2.92/scripts/modules/addon_utils.py", line 351, in enable
mod = import(module_name)
File "/.var/app/org.blender.Blender/config/blender/2.92/scripts/addons/zpy_addon/init.py", line 58, in
from . import export_panel
File "
/.var/app/org.blender.Blender/config/blender/2.92/scripts/addons/zpy_addon/export_panel.py", line 10, in
import zpy
ModuleNotFoundError: No module named 'zpy'

  • OS: Ubuntu 18.04
  • Blender: 2.92

API Docs

Documentation on the already public API, potentially as part of the CLI docs?

Specify Annotation file in Dataset

Datasets may have multiple annotation files. Being able to specify which annotation file to use when using a dataset for a ML experiment would remove the need to re-package datasets.

Nice Docs 2

With https://zumolabs.github.io/zpy/ now open, we can transfer some existing documentation over to the new page.

  • Create a new sim
  • Run an experiment
  • Use image augmentation
  • Make a new suggestion ticket

Progress Tracking

Indication of progress for jobs, especially large generation jobs.

Project API

Ability to group together sims and datasets into a project, allowing users to better organize and share their workflows with their teams.

TypeError: expected str, bytes or os.PathLike object, not NoneType

Describe the bug
After upgrade to 0.9.10 (using in Blender 2.91) I need to specify ASSETS environment variable and I need to have 'lib/hdris/1k' directory there.

Otherwise I get following error being thrown:

Traceback (most recent call last):
  File "/home/piotr/Files/blender/blender-2.91.0-linux64/2.91/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/piotr/repos/zpy/zpy_addon/__init__.py", line 46, in <module>
    import zpy
  File "/home/piotr/repos/zpy/zpy/__init__.py", line 33, in <module>
    from zpy import hdris
  File "/home/piotr/repos/zpy/zpy/hdris.py", line 65, in <module>
    Path(os.environ.get('ASSETS')) / Path('lib/hdris/1k'),
  File "/home/piotr/Files/blender/bar/lib/python3.7/pathlib.py", line 1022, in __new__
    self = cls._from_parts(args, init=False)
  File "/home/piotr/Files/blender/bar/lib/python3.7/pathlib.py", line 669, in _from_parts
    drv, root, parts = self._parse_args(args)
  File "/home/piotr/Files/blender/bar/lib/python3.7/pathlib.py", line 653, in _parse_args
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Expected behavior
Specyfing ASSETS env variable is optional.
Mention in documentation about such env variable.

Current workaround

  1. mkdir ../assets/lib/hdris/1k
  2. ASSETS=$(pwd)/../assets blender

CLI Doc Gifs

Some of the gifs in the CLI docs are really large/long.

image.png

Cloud/Local asset paths

This common snippet works locally but fails in headless/cloud. Can we abstract the asset path determination from the user so that it works seamlessly on both cloud and locally?
image.png

Better Run button

To properly run the "run" script, a zpy user has to click the "Run" button under the ZPY panel. If they click the "Run" button in the Blender script panel, it will not save and reset the scene, resulting in simulation drift. We should provide a warning, or simply make the "run" button in the blender script also a valid option.

Gin error logs

There is a bunch of log pollution in error tracebacks due to gin. This makes debugging more annoying.

IES Lighting

Explore IES lighting and see if it could be a potential solution for more varied and intuitive randomized lighting.

zpy-zumo fails to properly install on Windows with Conda

Describe the bug
zpy fails to properly install -- any invocation gives an error -- on Windows using pip install zpy-zumo in Anaconda

Likely cause: shapely/shapely#1032

To Reproduce
Steps to reproduce the behavior:

  • Be on Windows
  • Create a new python env in Anaconda
  • Install zpy-zumo pip install zpy-zumo in the Anaconda cli
  • Run zpy
(zpy-test) C:\Users\steve>zpy
Traceback (most recent call last):
  File "d:\anaconda3\envs\zpy-test\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\anaconda3\envs\zpy-test\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\anaconda3\envs\zpy-test\Scripts\zpy.exe\__main__.py", line 4, in <module>
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\cli\cli.py", line 2, in <module>
    from cli.utils import parse_args, resolve_sweep
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\cli\utils.py", line 1, in <module>
    from cli.config import read_config
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\cli\config.py", line 1, in <module>
    from zpy.files import to_pathlib_path
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\zpy\__init__.py", line 18, in <module>
    from zpy import image
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\zpy\image.py", line 12, in <module>
    from shapely.geometry import MultiPolygon, Polygon
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\shapely\geometry\__init__.py", line 4, in <module>
    from .base import CAP_STYLE, JOIN_STYLE
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\shapely\geometry\base.py", line 19, in <module>
    from shapely.coords import CoordinateSequence
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\shapely\coords.py", line 8, in <module>
    from shapely.geos import lgeos
  File "d:\anaconda3\envs\zpy-test\lib\site-packages\shapely\geos.py", line 154, in <module>
    _lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll'))
  File "d:\anaconda3\envs\zpy-test\lib\ctypes\__init__.py", line 381, in __init__
    self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'd:\anaconda3\envs\zpy-test\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Expected behavior
zpy doesn't give an error when invoked.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: zpy 1.1.3

Additional context
Seems to be related to this issue with shapely: shapely/shapely#1032
Running conda install shapely after install fixes the issue.

Fix proposed for Shapely 1.8

Super-Resolution

Super-resolution as a method of allowing smaller (quicker/cheaper) renders. Whether this impacts performance is still TBD.

Distractors

Distractor objects can be spawned at runtime and serve as a form of regularization when training a network on the synthetic data.

Proposal: zpy cli hierarchy change

Proposed CLI hierarchy change from zpy action model to zpy model action.

Reasoning is that when I want to direct a user related information, I think zpy model --help is a natural way to do so and in general is better way to provide information about commands in an object oriented architecture.

I think aws cli works like this for instance: awscli sqs --list-queues

here's an example with the project stuff:
current

def create_project(account, name):
    """Create a project under ACCOUNT called NAME
    See available accounts: zpy list accounts

proposed

def create_project(account, name):
    """Create a project under ACCOUNT called NAME
    See: zpy account --help

Another example:

Current command to create a data set: zpy create dataset <sim> <args>
So if I was curious about sims and what I can do with them, I'd have to do zpy --help to understand the actions and then I'd have to do zpy <action> --help to see if it applies to sims.

Under new proposal it would look like: zpy dataset create <sim> <args>
So to learn about sims I now just do zpy sim --help

Remove render errors

Even in a working scene, Blender will complain when it tries to render. Figure out why this happens and fix it!

Saved: C:\Users\bill\AppData\Local\Temp\output\IMG_00000000_rgb.png0001
imb_savepng: Cannot open file for writing: 'C:\tmp\'
C:\tmp\: No such file or directory
 Time: 00:06.58 (Saving: 00:00.01)

Error: Render error (No such file or directory) cannot save: 'C:\tmp\'
Render raised exception Error: Render error (No such file or directory) cannot save: 'C:\tmp\'

Saved: C:\Users\bill\AppData\Local\Temp\output\IMG_00000000_iseg.png0001
imb_savepng: Cannot open file for writing: 'C:\tmp\'
C:\tmp\: No such file or directory
 Time: 00:00.24 (Saving: 00:00.00)

Error: Render error (No such file or directory) cannot save: 'C:\tmp\'
Render raised exception Error: Render error (No such file or directory) cannot save: 'C:\tmp\'

Saved: C:\Users\bill\AppData\Local\Temp\output\IMG_00000001_rgb.png0001
imb_savepng: Cannot open file for writing: 'C:\tmp\'
C:\tmp\: No such file or directory
 Time: 00:06.37 (Saving: 00:00.01)

Error: Render error (No such file or directory) cannot save: 'C:\tmp\'
Render raised exception Error: Render error (No such file or directory) cannot save: 'C:\tmp\'

Saved: C:\Users\bill\AppData\Local\Temp\output\IMG_00000001_iseg.png0001
imb_savepng: Cannot open file for writing: 'C:\tmp\'
C:\tmp\: No such file or directory
 Time: 00:00.25 (Saving: 00:00.00)

Error: Render error (No such file or directory) cannot save: 'C:\tmp\'
Render raised exception Error: Render error (No such file or directory) cannot save: 'C:\tmp\'

Linter on forks

Linter seems to have permission issues when running on zpy forks:
image.png

Fix Dataset Inheritance

Seeing some issues around not having explicit links between Jobs and the generic DataSets which make up the input_data_sets and output_data_sets. Keeping track of the things I wanted to do in the UI but couldn't:

  1. Link directly from a Job and show a view for the specific kind of DataSet (Generated/Uploaded/Job).

The list of input_data_sets on a Job can be one of 3 types, but given an instance of DataSet we can't convert to an instance of one of the 3 types
Current workaround: only showing id, name, and images for any input_data_sets in the UI
Fix: not really sure, some ideas:
-- Add just a type field on the base DataSet and then add rigging into the base DataSetViewSet and DataSetSerialzier that will delegate to the appropriate DataSetViewSet or DataSetSerializer.
-- Add a type field to the base DataSet model, move all "custom" fields from the child type DataSets into the base DataSet model and make them blank-able or maybe nullable, hook validation into the model/serializers to make sure correct fields are being used with each type, and remove the child models entirely and only work with DataSets again
-- In both cases, we'd only be using a /api/v1/data-sets end point
2) Get a paginated response for the input_data_sets on a Job

I can't do something of this nature
jobs_router = router.register(r'jobs', JobViewset, basename='job')
jobs_router.register(r'input-data-sets', DataSetViewset, basename='job-inputdataset', parents_query_lookups=['job'])
because there is no link between a generic DataSet and a Job (I think)

Current workaround: returning ALL input_data_sets in a Job detail request.
Fix: not really sure, but I don't think this is possible with the first thought to fix the first issue above, might need to do the 2nd option so that we can filter on fields that don't necessarily belong to a certain type

KeyError: 'bpy_struct[key]: key "aovs" not found'

Describe the bug
I downloaded Suzanne 1 example from your repository and run it using Blender 2.91 and your library.

I got following error:

Traceback (most recent call last):
  File "/run.py", line 78, in <module>
  File "/run.py", line 35, in run
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/zpy/render.py", line 204, in render_aov
    output_node = make_aov_file_output_node(style=style)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/zpy/render.py", line 82, in make_aov_file_output_node
    zpy.render.make_aov_pass(style)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/zpy/render.py", line 42, in make_aov_pass
    view_layer['aovs'][-1]['name'] = style
KeyError: 'bpy_struct[key]: key "aovs" not found'
  In call to configurable 'make_aov_pass' (<function make_aov_pass at 0x7f73bfd25f80>)
  In call to configurable 'make_aov_file_output_node' (<function make_aov_file_output_node at 0x7f73bfd25ef0>)
  In call to configurable 'render_aov' (<function render_aov at 0x7f73bfd28f80>)
Error: Python script failed, check the message in the system console

To Reproduce
Steps to reproduce the behavior:

  1. Install Blender 2.91.
  2. Install zpy addon and zpy-zumo Python library.
  3. Download Suzanne 1 run.py script.
  4. Run Suzanne 1 run.py script.

Expected behavior
Suzanne 1 run.py script run without errors.

zpy.output_zumo.ZUMOParseError: width and height h:0 w:0 must be > 0

Describe the bug
In Blender v2.91 and zpy v0.9.10 I got following error when I run Suzanne 3 demo run.py:

2021-03-18 20:49:05,507: INFO output.py] Outputting annotation file to /tmp/output/ZUMO_META.json
2021-03-18 20:49:05,507: WARNING files.py] Could not find path at /tmp/output/ZUMO_META.json
2021-03-18 20:49:05,507: INFO files.py] Writing JSON to file /tmp/output/ZUMO_META.json
2021-03-18 20:49:05,508: INFO output_zumo.py] Parsing ZUMO annotations at /tmp/output/ZUMO_META.json...
2021-03-18 20:49:05,508: INFO files.py] Reading JSON file at /tmp/output/ZUMO_META.json
2021-03-18 20:49:05,509: INFO output_zumo.py] images:9 categories:1 annotations:3
2021-03-18 20:49:05,509: INFO output_zumo.py] Parsing images...
Traceback (most recent call last):
  File "/home/piotr/untitled.blend/run.py", line 164, in <module>
  File "/home/piotr/untitled.blend/run.py", line 149, in run
  File "/home/piotr/repos/zpy/zpy/output_zumo.py", line 54, in output_annotations
    annotation_file=annotation_path, data_dir=self.saver.output_dir)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1078, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 49, in augment_exception_message_and_reraise
    six.raise_from(proxy.with_traceback(exception.__traceback__), None)
  File "<string>", line 3, in raise_from
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1055, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/repos/zpy/zpy/output_zumo.py", line 141, in parse_zumo_annotations
    f'width and height h:{height} w:{width} must be > 0')
zpy.output_zumo.ZUMOParseError: width and height h:0 w:0 must be > 0
  In call to configurable 'parse_zumo_annotations' (<function parse_zumo_annotations at 0x7f8c57a274d0>)

All data is generated, so it looks like a minor bug.

Expected behavior
No errors when any of demo is run on released zpy version.

'Object' object has no attribute 'seg'

system details:
OS: Windows 10
Blender version : 2.92 (tried on 2.91.0 with same error)

I'm getting the following error when I tried to execute run.py for Suzanne: Part 1. How should I solve this?

Traceback (most recent call last):
File "\run.py", line 78, in
File "\run.py", line 21, in run
File "D:\files\blender\2.92\python\lib\zpy\objects.py", line 244, in segment
obj.seg.instance_name = name
AttributeError: 'Object' object has no attribute 'seg'
Error: Python script failed, check the message in the system console

Better Names

New naming scheme, the underscore before a name ensures that those files are listed first in a directory.

ANNOTATIONS:

  • coco_annotations.json becomes _annotations.coco.json
  • ZUMO_META.json (zumo annotations) becomes _annotations.zumo.json
  • annotations.csv becomes _annotations.custom.csv
  • mot.csv becomes _annotations.mot.csv

SIMS:

  • ZUMO_META.json (sim information) becomes _meta.zumo.json

IMAGES:

  • IMG_00000000_iseg.png becomes image.00000000.iseg.png
  • IMG_00000000_depth.png becomes image.00000000.depth.png
  • IMG_00000000_rgb_annotated.png becomes image.00000000.rgb.annotated.png

VIZ:

  • category_histograms.png becomes _viz.category_histograms.png
  • color_correlations_plot.png becomes _viz.color_correlations_plot.png
  • image_shape_plot.png becomes _viz.image_shape_plot.png
  • pixel_histograms.png becomes _viz.pixel_histograms.png
  • ZUMO_DATASHEET.txt become _viz.datasheet.txt

LOGS:
info.log can stay as info.log or possibly be _info.log

Rename render_aov

zpy.render.render_aov is called in every sim, but the last part of that name _aov probably confuses people and isn't particularly necessary. We can rename it to render_out or just render

Give multiple objects the same tag

Describe the solution you'd like
Not sure if this already exists but I'd like to be able to give numerous object meshes have one label. If it does, please let me know!

More Annotation Styles

Support more annotation styles:

  • ZUMO JSON
  • COCO JSON
  • MOT csv
  • generic csv
  • Pascal VOC XML
  • YOLOv5 PyTorch txt
  • Tensorflow Object Detection csv
  • Tensorflow TFRecord
  • AWS Rekognition
  • Google Cloud AutoML
  • Azure Custom Vision

AttributeError: Calling operator "bpy.ops.cycles.add_aov" error, could not be found

Describe the bug
I downloaded Suzanne 1 example from your repository and run it using Blender 2.92 and your library.

I got following error:

Read blend: untitled.blend
 Setting render engine to CYCLES to use AOV
 Setting render engine to CYCLES to use AOV
Traceback (most recent call last):
  File "untitled.blend/run.py", line 78, in <module>
  File "untitled.blend/run.py", line 35, in run
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/zpy/render.py", line 204, in render_aov
    output_node = make_aov_file_output_node(style=style)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/zpy/render.py", line 82, in make_aov_file_output_node
    zpy.render.make_aov_pass(style)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1069, in gin_wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise
    raise proxy.with_traceback(exception.__traceback__) from None
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/gin/config.py", line 1046, in gin_wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/piotr/Files/blender/bar/lib/python3.7/site-packages/zpy/render.py", line 41, in make_aov_pass
    bpy.ops.cycles.add_aov()
  File "/home/piotr/Files/blender/blender-2.92.0-linux64/2.92/scripts/modules/bpy/ops.py", line 132, in __call__
    ret = _op_call(self.idname_py(), None, kw)
AttributeError: Calling operator "bpy.ops.cycles.add_aov" error, could not be found
  In call to configurable 'make_aov_pass' (<function make_aov_pass at 0x7f8f0f9aaf80>)
  In call to configurable 'make_aov_file_output_node' (<function make_aov_file_output_node at 0x7f8f0f9af050>)
  In call to configurable 'render_aov' (<function render_aov at 0x7f8f0f9b5050>)
Error: Python script failed, check the message in the system console

To Reproduce
Steps to reproduce the behavior:

  1. Install Blender 2.92.
  2. Install zpy addon and zpy-zumo Python library.
  3. Download Suzanne 1 run.py script.
  4. Run Suzanne 1 run.py script.

Additional context

This seems related to Blender 2.92, we are still on 2.91. We will let you know when this is ready to go. If you can make a ticket for this it will help us out :)

Hugo Ponte
Co-Founder & CTO

Nice Docs

Refactor README to show upcoming public simulations shelf and package.

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.