cure-lab / MagicDrive

[ICLR24] Official implementation of the paper “MagicDrive: Street View Generation with Diverse 3D Geometry Control”
https://gaoruiyuan.com/magicdrive/
GNU Affero General Public License v3.0
667 stars 40 forks source link

dataset for pre-trained weight #96

Closed zwang573 closed 1 week ago

zwang573 commented 1 month ago

Thanks for your amazing work! Do we have to download and process the full nuscenes dataset if we just want use the pretrained weight for video generation?

flymin commented 1 month ago

You can check the demo with the webui first. They have minimal dependencies.

zwang573 commented 1 month ago

yes we tried webui and the demo for image generation, the run.py script works pretty good but we got errors when we try to use the webui.

zwang573 commented 1 month ago
Screenshot 2024-10-21 at 1 27 52 AM

following is the detail of the error message:

ERROR: Exception in ASGI application Traceback (most recent call last): File "/home/user/persistent/miniconda3/envs/magicdrive/lib/python3.8/site-packages/pydantic/type_adapter.py", line 270, in _init_core_attrs self._core_schema = _getattr_no_parents(self._type, 'pydantic_core_schema') File "/home/user/persistent/miniconda3/envs/magicdrive/lib/python3.8/site-packages/pydantic/type_adapter.py", line 112, in _getattr_no_parents raise AttributeError(attribute) AttributeError: pydantic_core_schema

During handling of the above exception, another exception occurred:

File "/home/user/persistent/miniconda3/envs/magicdrive/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set arbitrary_types_allowed=True in the model_config to ignore this error or implement __get_pydantic_core_schema__ on your type to fully support it.

If you got this error by calling handler() within __get_pydantic_core_schema__ then you likely need to call handler.generate_schema(<some type>) since we do not call __get_pydantic_core_schema__ on <some type> otherwise to avoid infinite recursion.`

flymin commented 1 month ago

https://github.com/oobabooga/text-generation-webui/issues/6367 is this related?

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 7 days with no activity. If you do not have any follow-ups, the issue will be closed soon.