Giter Club home page Giter Club logo

Comments (5)

ozgurkara99 avatar ozgurkara99 commented on August 29, 2024 1

Thanks a lot for the feedback, we tested our code in Linux, and it seems the errors are related to using Windows. We are working on it and hoping to release the Windows version soon, thanks.

from rave.

bendeguzvaradi avatar bendeguzvaradi commented on August 29, 2024

I got the same error when using a custom model - I was using RealisticVision - (Windows Ubuntu WSL) even from running it from cmd using python scripts/run_experiment.py:

File "/mnt/d/Dev/RAVE/pipelines/sd_controlnet_rave.py", line 140, in preprocess_control_grid
list_of_pils = [pu.pixel_perfect_process(np.array(frame_pil, dtype='uint8'), self.preprocess_name) for frame_pil in list_of_image_pils]
File "/mnt/d/Dev/RAVE/pipelines/sd_controlnet_rave.py", line 140, in
list_of_pils = [pu.pixel_perfect_process(np.array(frame_pil, dtype='uint8'), self.preprocess_name) for frame_pil in list_of_image_pils]
File "/mnt/d/Dev/RAVE/utils/preprocesser_utils.py", line 211, in pixel_perfect_process
detected_map, _ = preprocessors_dict[p_name](input_image, res=preprocessor_resolution)
File "/mnt/d/Dev/RAVE/utils/preprocesser_utils.py", line 187, in zoe_depth
result = model_zoe_depth(img)
File "/mnt/d/Dev/RAVE/annotator/zoe/init.py", line 38, in call
self.load_model()
File "/mnt/d/Dev/RAVE/annotator/zoe/init.py", line 26, in load_model
conf = get_config("zoedepth", "infer")
File "/mnt/d/Dev/RAVE/annotator/zoe/zoedepth/utils/config.py", line 384, in get_config
version_name = overwrite_kwargs.get("version_name", config["version_name"])
KeyError: 'version_name'

from rave.

pondloso avatar pondloso commented on August 29, 2024

I got the same error when using a custom model - I was using RealisticVision - (Windows Ubuntu WSL) even from running it from cmd using python scripts/run_experiment.py:

File "/mnt/d/Dev/RAVE/pipelines/sd_controlnet_rave.py", line 140, in preprocess_control_grid list_of_pils = [pu.pixel_perfect_process(np.array(frame_pil, dtype='uint8'), self.preprocess_name) for frame_pil in list_of_image_pils] File "/mnt/d/Dev/RAVE/pipelines/sd_controlnet_rave.py", line 140, in list_of_pils = [pu.pixel_perfect_process(np.array(frame_pil, dtype='uint8'), self.preprocess_name) for frame_pil in list_of_image_pils] File "/mnt/d/Dev/RAVE/utils/preprocesser_utils.py", line 211, in pixel_perfect_process detected_map, _ = preprocessors_dict[p_name](input_image, res=preprocessor_resolution) File "/mnt/d/Dev/RAVE/utils/preprocesser_utils.py", line 187, in zoe_depth result = model_zoe_depth(img) File "/mnt/d/Dev/RAVE/annotator/zoe/init.py", line 38, in call self.load_model() File "/mnt/d/Dev/RAVE/annotator/zoe/init.py", line 26, in load_model conf = get_config("zoedepth", "infer") File "/mnt/d/Dev/RAVE/annotator/zoe/zoedepth/utils/config.py", line 384, in get_config version_name = overwrite_kwargs.get("version_name", config["version_name"]) KeyError: 'version_name'

I change controlnet to line art and it work but out of memory for me you can try it.

from rave.

ozgurkara99 avatar ozgurkara99 commented on August 29, 2024

Could you please try to reduce the batch size and try it with lineart please?

from rave.

ozgurkara99 avatar ozgurkara99 commented on August 29, 2024

@pondloso hey, could you please try with Depth Zoe, now it shouls work. thanks

from rave.

Related Issues (16)

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.