Ryukijano commited on
Commit
a4b32a9
·
verified ·
1 Parent(s): ffbcf9e

Add debugging logs and update dependencies for compatibility

Browse files

- Added detailed print statements throughout the code to assist in debugging and monitoring the execution flow.
- Logs include information about starting main functions, downloading models, initializing components, preprocessing images, and reconstructing 3D models.
- Ensured each major step, including input validation, model loading, and GPU allocation, has informative logging.

- Updated `requirements.txt` to resolve compatibility issues:
- Downgraded `numpy` to `<2.0` to address incompatibility errors with PyTorch.
- Added `pybind11>=2.12` to support compatibility between NumPy 1.x and 2.x.
- Pinned `torch==2.1.2` to ensure compatibility with Hugging Face ZeroGPU Spaces.

These changes will help ensure the code runs smoothly with the updated versions, and the added logs will facilitate easier debugging and error tracing.

Files changed (1) hide show
  1. requirements.txt +5 -4
requirements.txt CHANGED
@@ -13,10 +13,11 @@ scikit-image
13
  plyfile
14
  omegaconf
15
  jaxtyping
16
- gradio
17
  spaces
18
- numpy
19
- torch
20
  torchvision
21
  torchaudio
22
- xformers
 
 
13
  plyfile
14
  omegaconf
15
  jaxtyping
16
+ gradio>=4.0
17
  spaces
18
+ numpy<2.0
19
+ torch==2.1.2 # Compatible version with ZeroGPU Spaces
20
  torchvision
21
  torchaudio
22
+ xformers
23
+ pybind11>=2.12 # Ensures compatibility with both NumPy 1.x and 2.x