weitong8591 / differentiable_ransac

PyTorch Implementation of the ICCV 2023 paper: Generalized Differentiable RANSAC ($\nabla$-RANSAC).
GNU General Public License v3.0
173 stars 9 forks source link

Data link is broken #4

Closed jytime closed 1 year ago

jytime commented 1 year ago

Hi Tong,

Thanks for the great work. I am trying to run the test script while the dataset link (https://cmp.felk.cvut.cz/~weitong/diff_ransac_data.zip) seems to be broken. I guess it should be updated to something like https://cmp.felk.cvut.cz/~weitong/diff_ransac_data/data/.

Best, Jianyuan

jytime commented 1 year ago

I download it by a simple script, which may be beneficial to share here.

#!/bin/bash

URL="https://cmp.felk.cvut.cz/~weitong/diff_ransac_data/"
TARGET_DIR="YOUR/PATH"

# Ensure wget is installed
if ! command -v wget &> /dev/null; then
    echo "Error: wget is not installed."
    exit 1
fi

# Create target directory if it doesn't exist
mkdir -p "$TARGET_DIR"

# Use wget to download the data
wget \
    --recursive \
    --no-clobber \
    --no-parent \
    --adjust-extension \
    --cut-dirs=2 \
    --no-check-certificate \
    --directory-prefix="$TARGET_DIR" \
    "$URL"

echo "Download complete."
weitong8591 commented 1 year ago

Hi! Thanks for sharing the script. I update the correct link for downloading '*.zip' as well.