Skip to content

Conversation

nsrawat0333
Copy link

Summary

This PR addresses Issue #596 where users reported 404 not found errors when downloading MeshGraphNet datasets. The issue was affecting multiple users and impacting research reproducibility.

Problem Analysis

The original download script had a URL construction issue causing double slashes (//) in the download URLs:

  • Before: https://storage.googleapis.com/dm-meshgraphnets//meta.json (404 error)
  • After: https://storage.googleapis.com/dm-meshgraphnets/flag_simple/meta.json (working)

Changes Made

🔧 Fixed Shell Script

  • meshgraphnets/download_dataset.sh: Fixed URL construction to prevent double slashes
  • Added input validation and better error handling
  • Enhanced user feedback with clear error messages

🐍 New Python Download Tool

  • meshgraphnets/download_meshgraphnet_datasets.py: Comprehensive cross-platform downloader
  • Progress tracking with visual progress bars
  • Error handling for network issues and 404 errors
  • Dataset validation and verification
  • List available datasets functionality

📚 Enhanced Documentation

  • Updated meshgraphnets/README.md with alternative download methods
  • Added troubleshooting section for download issues
  • Clear examples for both shell and Python approaches

📦 Dependencies

  • meshgraphnets/requirements-download.txt: Minimal dependencies for download tools

Key Features

  • 🚀 Multiple download methods: Shell script + Python tool
  • 📊 Progress tracking: Real-time download progress with file sizes
  • 🔍 Dataset verification: Ensures all required files are present
  • 🛠️ Error handling: Clear error messages for common issues
  • 🌐 Cross-platform: Works on Windows, Linux, macOS

Testing

  • ✅ URL construction verified (no more double slashes)
  • ✅ Python script tested with dataset listing functionality
  • ✅ Error handling validated for invalid dataset names
  • ✅ Cross-platform compatibility confirmed

Impact

Related Issues

Fixes #596 - MeshGraphNet Dataset Link is giving 404 not found error

Type of Change

  • Bug fix (URL construction issue)
  • New feature (Python download tool)
  • Documentation update
  • Breaking change

Ready for review! This fix restores dataset accessibility for the MeshGraphNet research community. 🚀

- Update aiohttp to address potential security vulnerabilities
- Maintains compatibility with existing codebase
- Addresses dependency security recommendations
…-deepmind#588

- Create download_polygen_models.py script for automated model downloading
- Add comprehensive documentation for pre-trained model access
- Provide multiple download methods (Python script, gsutil, wget)
- Add troubleshooting section addressing Issue google-deepmind#588 confusion
- Create requirements-download.txt for download dependencies

Addresses Issue google-deepmind#588: 'where is the face_model.tar and the vertices_model.tar'

The issue was caused by:
1. Unclear documentation about model file locations
2. Confusion about file names (face_model.tar.gz vs face_model.tar)
3. No clear download instructions outside of Colab environment
4. Missing troubleshooting guidance

Solutions provided:
1. Python download script with progress bars and verification
2. Clear documentation of all download methods
3. Correct file names and locations specified
4. Comprehensive troubleshooting section
5. Multiple fallback options for different environments

Users can now easily access PolyGen pre-trained models using:
- Automated Python script (recommended)
- Manual gsutil commands
- Direct HTTP downloads
- Built-in verification and error handling


- Fixed URL construction in download_dataset.sh to prevent double slashes
- Added comprehensive Python download script with progress tracking
- Enhanced error handling and validation for dataset downloads
- Updated README with alternative download methods and troubleshooting
- Added requirements-download.txt for download dependencies

Key improvements:
 Proper URL construction: Fixed BASE_URL to avoid double slash issue
 Python downloader: Cross-platform solution with progress bars
 Error handling: Clear error messages for 404 and network issues
 Dataset validation: Verify all required files are present
 User experience: List datasets, verify downloads, detailed progress

Addresses Issue google-deepmind#596 where users reported 404 errors when downloading
MeshGraphNet datasets. Multiple users confirmed this issue affecting
research reproducibility.

Files changed:
- meshgraphnets/download_dataset.sh: Fixed URL construction and added validation
- meshgraphnets/download_meshgraphnet_datasets.py: New Python download tool
- meshgraphnets/README.md: Updated with alternative download methods
- meshgraphnets/requirements-download.txt: Download dependencies
@polarbe
Copy link

polarbe commented Aug 10, 2025 via email

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

Successfully merging this pull request may close these issues.

MeshGraphNet Dataset Link is giving 404 not found error.Please help!
2 participants