Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering and Blender Scene Loading Issues - 'UnicodeDecodeError' #1

Open
Masoudvahid opened this issue Oct 3, 2024 · 1 comment
Open

Comments

@Masoudvahid
Copy link

Hello,

First of all, I would like to express my appreciation for your amazing work on Gaussian Frosting. It’s an incredibly interesting plugin, and I’m excited to be using it! I am currently trying to recreate the results I previously trained using the SuGaR repository, but I’ve encountered two main issues:

  1. When I press Render Image or Render Animation, nothing happens and I don't get any output. There are no error messages or logs indicating what went wrong.

  2. I am saving my scene as a .blend file in the <SuGaR>/blender/packages directory. However, when I run:

python render_blender_scene.py -p <PATH_TO_PACKAGE>

I receive the following error:

Using original 3DGS rasterizer from Inria.
[INFO] Using device:  cuda:0
[INFO] Images will be saved in:  ./output/blender/renders/a2

Loading Blender package...
Traceback (most recent call last):
  File "/SuGaR/render_blender_scene.py", line 60, in <module>
    package = load_blender_package(args.package_path, device)
  File "/SuGaR/blender/sugar_utils.py", line 17, in load_blender_package
    package = json.load(open(package_path))
  File "/miniconda3/envs/sugar/lib/python3.9/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/miniconda3/envs/sugar/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 20: invalid continuation byte

I have updated my old SuGaR repository and environment, and I am using Blender 4.0.2.

Any help or guidance would be greatly appreciated!

Thank you for your hard work and support!

@MichaelYu781
Copy link

i have met the save problem: nothing happens when i press render image or render animation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants