zjjMaiMai / TinyHITNet

HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching
152 stars 21 forks source link

fail to compile ext_op #5

Closed Yaoxingtian closed 2 years ago

Yaoxingtian commented 2 years ago

Hi, thanks for you opensource! when I compile ext_op, error happened:ERROR: Failed building wheel for HitnetModule...

Could you pls. provide env for this project ?

thanks!

zjjMaiMai commented 2 years ago

more information please?

Yaoxingtian commented 2 years ago

more information please? thanks ! I have solved it. But another one happened: ModuleNotFoundError: No module named 'dataset could you pls. help this! thanks !'

zjjMaiMai commented 2 years ago

But another one happened: ModuleNotFoundError: No module named 'dataset could you pls. help this! thanks !'

you need to add project root dir into PYTHONPATH environment variable.

Yaoxingtian commented 2 years ago

Thanks you ! Solved. Does this project support two GPUs work ? Could you share the environment you've done?

new problem again, when I execute python preprocess/plane_fitting_kitti2015.py : RuntimeError: CUDA error: invalid device ordinal thanks so much !

zjjMaiMai commented 2 years ago

new problem again: RuntimeError: CUDA error: invalid device ordinal thanks so much !

we hard code 8 GPUs in plane fitting script, you should replace 8 to 2 in your case. https://github.com/zjjMaiMai/TinyHITNet/blob/6a78b3453bef927f66f04ca3f8949a15509cf3fc/preprocess/plane_fitting_kitti2015.py#L52-L53

Yaoxingtian commented 2 years ago

new problem again: RuntimeError: CUDA error: invalid device ordinal thanks so much !

we hard code 8 GPUs in plane fitting script, you should replace 8 to 2 in your case.

https://github.com/zjjMaiMai/TinyHITNet/blob/6a78b3453bef927f66f04ca3f8949a15509cf3fc/preprocess/plane_fitting_kitti2015.py#L52-L53

Thanks for your help ! And I use two 2080TI , but it shows:RuntimeError: CUDA out of memory. could you pls. tell me about your training environment?

zjjMaiMai commented 2 years ago

And I use two 2080TI , but it shows:RuntimeError: CUDA out of memory. could you pls. tell me about your training environment?

we use 8 NVIDIA Tesla V100 GPU 32G.

zjjMaiMai commented 2 years ago

try to understand the code and adjust hyperparameters to suit your hardware environment.

PMA65 commented 2 years ago

Hi, thanks for you opensource! when I compile ext_op, error happened:ERROR: Failed building wheel for HitnetModule...

Could you pls. provide env for this project ?

thanks!

@Yaoxingtian how did you solve this pls ?

Yaoxingtian commented 2 years ago

I just tried diffrent env, and I am not sure the exact proble . my cuda is 11.0.

发送自 Outlookhttp://aka.ms/weboutlook


发件人: PMA65 @.> 发送时间: 2022年2月28日 14:38 收件人: zjjMaiMai/TinyHITNet @.> 抄送: Yaoxingtian @.>; Mention @.> 主题: Re: [zjjMaiMai/TinyHITNet] fail to compile ext_op (Issue #5)

Hi, thanks for you opensource! when I compile ext_op, error happened:ERROR: Failed building wheel for HitnetModule...

Could you pls. provide env for this project ?

thanks!

@Yaoxingtianhttps://github.com/Yaoxingtian how did you solve this pls ?

― Reply to this email directly, view it on GitHubhttps://github.com/zjjMaiMai/TinyHITNet/issues/5#issuecomment-1054322456, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCSU4XRECJOOERFTMUDL23U5OCEXANCNFSM5L27WC3A. You are receiving this because you were mentioned.Message ID: @.***>