selimsef / dfdc_deepfake_challenge

A prize winning solution for DFDC challenge
MIT License
787 stars 209 forks source link

Timm library version problem #11

Closed mertyyanik closed 4 years ago

mertyyanik commented 4 years ago

Timm library updated version causes trouble in the code. https://github.com/selimsef/dfdc_deepfake_challenge/blob/9925d95bc5d6545f462cbfb6e9f37c69fa07fde3/Dockerfile#L59

Installing an older version resolved the issue. pip install timm==0.1.26

enquestor commented 3 years ago

@mertyyanik Thanks for sharing this, however I'm getting another error while using the predict_submuission.sh script:

ImportError: cannot import name 'container_abcs' from 'torch._six' (/opt/conda/lib/python3.7/site-packages/torch/_six.py)

I suppose this is due to a PyTorch update? Would you share the PyTorch version you're using during this competition? Thanks in advance!

Edit: I just found out that you're using the torch image, so this shouldn't be the cause. Any idea on this?

AyeshaMalikAyesha commented 9 months ago

@enquestor I got the same torch._six error How do I resolve this can you please help me? I have used the timm version 0.1.26 so which pytorch version should I use to get rid of this error