-
Notifications
You must be signed in to change notification settings - Fork 59
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
How can I solve this issue on the colab implementation? #27
Comments
Hi,
|
Thanks! I fixed that issue, but now I'm receiving another problem, saying something about the xFormers Example usage%cd ../OpenLRM !python -m openlrm.launch infer.lrm --infer $INFER_CONFIG model_name=$MODEL_NAME image_input=$IMAGE_INPUT export_video=$EXPORT_VIDEO export_mesh=$EXPORT_MESH |
I am still working on the colab implementation, for now, these are the script modifications on app.py & the errors on it Copyright (c) 2023-2024, Zexin HeLicensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttps://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.import os def assert_input_image(input_image): def prepare_working_dir(): def init_preprocessor(): def preprocess_fn(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir): def demo_openlrm(infer_impl):
def launch_gradio_app():
if name == 'main':
.............................................................................................................................................................................................. During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hi, |
Example usage
EXPORT_VIDEO=True
EXPORT_MESH=True
INFER_CONFIG="./configs/infer-b.yaml"
MODEL_NAME="zxhezexin/openlrm-mix-base-1.1"
IMAGE_INPUT="./assets/sample_input/owl.png"
!python -m openlrm.launch infer.lrm --infer $INFER_CONFIG model_name=$MODEL_NAME image_input=$IMAGE_INPUT export_video=$EXPORT_VIDEO export_mesh=$EXPORT_MESH
/usr/bin/python3: No module named openlrm
The text was updated successfully, but these errors were encountered: