question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Outdated Dockerfile

See original GitHub issue

Hi!

It seems that the python version of the Dockerfile is too old for the f-string syntax used in another library.

$ bash extracted_frames.sh Traceback (most recent call last):
  File "build_rawframes.py", line 9, in <module>    import mmcv
  File "/data/mmcv/mmcv/__init__.py", line 3, in <module>
    from .arraymisc import *
  File "/data/mmcv/mmcv/arraymisc/__init__.py", line 2, in <module>
    from .quantization import dequantize, quantize
  File "/data/mmcv/mmcv/arraymisc/quantization.py", line 20
    f'levels must be a positive integer, but got {levels}')
                                                         ^
SyntaxError: invalid syntax
Raw frames (RGB and tv-l1) Generated for val setTraceback (most recent call last):
  File "build_rawframes.py", line 9, in <module>    import mmcv
  File "/data/mmcv/mmcv/__init__.py", line 3, in <module>
    from .arraymisc import *
  File "/data/mmcv/mmcv/arraymisc/__init__.py", line 2, in <module>
    from .quantization import dequantize, quantize
  File "/data/mmcv/mmcv/arraymisc/quantization.py", line 20
    f'levels must be a positive integer, but got {levels}')
                                                         ^
SyntaxError: invalid syntax
Raw frames (RGB and tv-l1) Generated for test set
I have no name!@345e74d5b930:/home/SERILOCAL/v.castillo/projects/3rdparty/mmaction/data_tools/thumos14$ python3
Python 3.5.2 (default, Apr 16 2020, 17:47:17) 
[GCC 5.4.0 20160609] on linuxType "help", "copyright", "credits" or "license" for more information.
>>>

BTW, thanks for providing this tool very much needed for video understanding.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
plbeckercommented, Apr 29, 2020

Try pip install mmcv==0.2.16 after building and starting the Dockerfile from this repository

2reactions
yjxiongcommented, Apr 30, 2020

The developers are busy with other projects right now. Your PR of the solution is welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I check if my local docker image is outdated, without ...
What would be the most efficient way to check if a local docker image is outdated compared to the remote image? All solutions...
Read more >
Deprecated Engine Features - Docker Documentation
This page provides an overview of features that are deprecated in Engine. Changes in packaging, and supported (Linux) distributions are not included.
Read more >
I Hate Finding Great, Outdated Docker Images | by DrPsychick
Nothing is worse than searching online for a Docker image that suits your current use case — only to find after several misleading...
Read more >
Outdated Dockerfile FROM-image · Issue #642 - GitHub
Hi, and thanks for a very fine project! Description. It seems that the example Dockerfile uses a discontinued image: $ lein new pedestal-service ......
Read more >
Documentation for docker image update outdated?
I found this page, https://confluence.atlassian.com/confkb/update-the-confluence-docker-image-to-use-oracle-jdk-829062521.html.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found