-
Notifications
You must be signed in to change notification settings - Fork 79
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
can i use this in windows 10? #21
Comments
i change python version to python 3.9,python 3.8,and install it again,but more error occur。 |
You may delete the torch.compile().
|
thanks,i will try it later。now i run this in docker and it works well. |
@vincentchen2017 |
I use images in png format |
if you use on windows,do this:
2.modify One-2-3-45\utils\zero123_utils.py,change 3.download this file https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx and put it at C:\Users\your user.u2net |
dear I followed your steps but it give me the this C:\Users\admin\One-2-3-45-master>python run.py --img_path ./building.jpg --half_precision |
CUDA_VISIBLE_DEVICES=idx led to an error. You may delete it. |
i use this in windows10,conda,python 3.10,when i run pip install -r requirements.txt ,it works well,and then i run python app.py error occur,
Traceback (most recent call last):
File "D:\simon\project\One-2-3-45\demo\app.py", line 639, in
fire.Fire(run_demo)
File "C:\Users\u.conda\envs\one2345\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "C:\Users\u.conda\envs\one2345\lib\site-packages\fire\core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "C:\Users\u.conda\envs\one2345\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "D:\simon\project\One-2-3-45\demo\app.py", line 449, in run_demo
models = init_model(device, os.path.join(code_dir, 'zero123-xl.ckpt'), half_precision=HALF_PRECISION)
File "..\utils\zero123_utils.py", line 45, in init_model
models['turncam'] = torch.compile(load_model_from_config(config, ckpt, device=device)).half()
File "C:\Users\u.conda\envs\one2345\lib\site-packages\torch_init.py", line 1441, in compile
return torch._dynamo.optimize(backend=backend, nopython=fullgraph, dynamic=dynamic, disable=disable)(model)
File "C:\Users\u.conda\envs\one2345\lib\site-packages\torch_dynamo\eval_frame.py", line 413, in optimize
check_if_dynamo_supported()
File "C:\Users\u.conda\envs\one2345\lib\site-packages\torch_dynamo\eval_frame.py", line 375, in check_if_dynamo_supported
raise RuntimeError("Windows not yet supported for torch.compile")
RuntimeError: Windows not yet supported for torch.compile。
what should i do ?my torch is 2.0.1+cu118
The text was updated successfully, but these errors were encountered: