isl-org / lang-seg

Language-Driven Semantic Segmentation
MIT License
691 stars 84 forks source link

error with torch-encoding #6

Closed XAVILLA closed 2 years ago

XAVILLA commented 2 years ago

Hi! Thanks for the great work

I can't seem to import encoding after following the installation steps. The error I got is "cannot import name 'gpu' from partially initialized module 'encoding' (most likely due to a circular import)". Can you please let me know whether you know the cause of this issue? Thanks!

XAVILLA commented 2 years ago

Can you please share the system/software configuration you used?

XAVILLA commented 2 years ago

resolved!

Zacchaeus00 commented 2 years ago

resolved!

Hi @XAVILLA , I met the same issue. Could you please let me know how you solved it? Thanks!

Zacchaeus00 commented 2 years ago

resolved! (update cuda toolkit)

joshmyersdean commented 1 year ago

Hi @Zacchaeus14, could you please share what you did to get this to work?

Thank you!

Zacchaeus00 commented 1 year ago

Hi @Zacchaeus14, could you please share what you did to get this to work?

Thank you!

Please try to use the lastest version of cuda

joshmyersdean commented 1 year ago

@Zacchaeus14 I've tried multiple PyTorch installs ranging from 1.7 (with CU 11.0) to the newest version with CU 11.6 but the circular import error still persists. Could you share the commands you used to install?

@Boyiliee Option 2 does not seem to work either, do you know of the most up to date solution to get everything installed?

Thank you!