Giter Site home page Giter Site logo

hyperblend's People

Contributors

11kaks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hyperblend's Issues

Usage of the program

Hi!

Thanks for this implementation, I have been looking to run it since a couple of days but I can't get it to be done. Is there any tutorial or instructions for somebody who is new to this type of software (and blender)? I tried running bs_render_single.py from IDE, from Conda Prompt, and from blender itself, but nothing seems to work.

Also, I tried to run main.py from windows cmd, from my IDE, and from Conda prompt, but it throws errors in references. I tried changing all the references to match what is being called, but I end up with an error that some files (and the directory optimization) does not exist. Tried to run code from the readme, but still can't get to work.

Would be very helpful if somebody can help me through some basic follow up on how to run this implementation.

Best regards!

Problem in running python script

Hello, I have created the hyperblend environment as mentioned in the readme file but i am not able to import the src . how can i do that?

FileNotFoundError: Could not find 400.0 nm image from /home/XXX/dev/HyperBlend/leaf_measurement_sets/try_p_leaves/sample_results/sample_0/working_temp/rend.

Hello,
I have installed HyperBlend from git with git clone and anaconda in ubuntu.
I have run this code :

from src.leaf_model import interface as LI

set_name = "try_random_p_leaves"

# generates three leaf targets to \HyperBlend\leaf_measurement_sets\try_random_p_leaves\sample_targets
LI.generate_prospect_leaf_random(set_name=set_name, count=3)

# Solve renderable leaf material parameters that produce target reflectance and transmittance
LI.solve_leaf_material_parameters(set_name=set_name, resolution=10, solver='nn')

# After solver has run, check results from HyperBlend\leaf_measurement_sets\try_random_p_leaves\set_result

As a result, it is showing this error

Traceback (most recent call last):

  File ~/anaconda3/lib/python3.11/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File ~/dev/HyperBlend/prod3.py:21
    LI.solve_leaf_material_parameters(set_name=set_name, resolution=10, solver='nn')

  File ~/dev/HyperBlend/src/leaf_model/interface.py:134 in solve_leaf_material_parameters
    r, t = LC._material_params_to_RT(set_name, sample_id, wls, ad, sd, ai, mf)

  File ~/dev/HyperBlend/src/leaf_model/leaf_commons.py:103 in _material_params_to_RT
    r_wl = DU.get_relative_refl_or_tran(C.imaging_type_refl, wl, base_path=P.path_directory_working(set_name, sample_id))

  File ~/dev/HyperBlend/src/utils/data_utils.py:27 in get_relative_refl_or_tran
    leaf_mean = get_rend_as_mean(FH.search_by_wl(C.target_type_leaf, imaging_type, wl, base_path))

  File ~/dev/HyperBlend/src/data/file_handling.py:195 in search_by_wl
    raise FileNotFoundError(f"Could not find {wl} nm image from {folder}.")

FileNotFoundError: Could not find 400.0 nm image from /home/maroun/dev/HyperBlend/leaf_measurement_sets/try_manual_set/sample_results/sample_0/working_temp/rend.

Could you please try to help us solve it?
Thank you

Best,
Maroun

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.