Skip to content
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

hash mismatch of resnet_v1.5_50-ml_c4.tar.gz file when building DLR #230

Open
denisyuji opened this issue Aug 27, 2020 · 1 comment
Open

Comments

@denisyuji
Copy link

I am building from the source for x86, with:

git clone --recursive https://github.com/neo-ai/neo-ai-dlr.git
cd neo-ai-dlr
mkdir build
cd build
cmake ..

Then, I got the following error:

...

-- Added Test: dlr_relayvm_test
-- Added Test: dlr_test
-- Added Test: dlr_treelite_test
-- Added Test: dlr_tvm_test
-- Downloading: https://neo-ai-dlr-test-artifacts.s3-us-west-2.amazonaws.com/tflite-models/cat224-3.txt to /home/denis/TEMP/neo-ai-dlr/build/cat224-3.txt
-- Downloading: https://neo-ai-dlr-test-artifacts.s3-us-west-2.amazonaws.com/test-data/street_small.npy to /home/denis/TEMP/neo-ai-dlr/build/street_small.npy
-- Downloading: https://neo-ai-dlr-test-artifacts.s3-us-west-2.amazonaws.com/compiled-models/resnet_v1.5_50-ml_c4.tar.gz to /tmp/resnet_v1.5_50-ml_c4.tar.gz
CMake Error at cmake/Utils.cmake:48 (file):
  file DOWNLOAD HASH mismatch

    for file: [/tmp/resnet_v1.5_50-ml_c4.tar.gz]
      expected hash: [447c22239e63882a2bc754db550131756373d4df]
        actual hash: [42c01a36f6ec0eea01f7a40e4217b88ffc503179]
             status: [28;"Timeout was reached"]

Call Stack (most recent call first):
  CMakeLists.txt:462 (download_file)

I changed the line 49 from cmake/Utils.cmake from:

         TIMEOUT 60  # seconds

to:

         TIMEOUT 600  # seconds

and then it built correctly.
I suggest changing this parameter to avoid errors in slower connections.

@trevor-m
Copy link
Contributor

Hey @denisyuji
I also experienced that issue and it seemed to resolve itself, I didn’t realize it was related to the internet connection. Thanks for the timeout suggestion, I will increase it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants