Skip to main content

CoolData: An electronics cooling dataset

Project description

Dataset Library for 3D Machine Learning

This Python dataset library is designed to streamline the end-to-end model training process, enabling efficient loading, visualization, and preparation of 3D data for machine learning applications. It supports advanced techniques, including graph neural networks and voxelized methods, with seamless integration into PyTorch workflows.

Features

  • Data Storage: Organized in folders containing .cgns files for compatibility with computational fluid dynamics tools.
  • PyVista Integration: Access to dataset samples as PyVista objects for easy 3D visualization and manipulation.
  • Graph Neural Network Support:
    • DGL Support:
      • Surface and volume data in mesh format.
      • 3D visualization of samples and predictions.
      • L2 loss computation and aggregate force evaluation for model training.
    • Planned PyG Support: Implementing functionalities similar to DGL.
  • Hugging Face Integration: Direct dataset loading from Hugging Face.
  • Voxelized Flow Field Support: Facilitates image processing-based ML approaches (Planned).
  • Comprehensive Metadata Accessibility: For advanced model comparison and evaluation (Planned).

Installation

Run

pip install cooldata

If you want to use the DGL support, you also need to install the DGL library, as documented here.

Example Usage

See the examples folder for a detailed example of how to use the library.

Roadmap

  • PyG Support
  • Re-meshing with Random Point Sampling
  • Voxelized Flow Field Support
  • Inference of Surface Quantities from Volumetric Predictions
  • Enhanced Metadata Accessibility

Development

This package uses uv for package management. To get started, first install uv. Then run

uv venv
uv sync

to create a virtualenv and install the required dependencies in it. For dgl, run the install script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cooldata-0.1.6.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cooldata-0.1.6-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file cooldata-0.1.6.tar.gz.

File metadata

  • Download URL: cooldata-0.1.6.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for cooldata-0.1.6.tar.gz
Algorithm Hash digest
SHA256 85613e4bfca072761623ac3ec747969afeb7575145a0f6442098aa22b02f354f
MD5 4f2973fb3432aa7dc23507b33374c544
BLAKE2b-256 d80685b7851fa3154518cc221c7defe08384c474fee17f51917474a838042ec0

See more details on using hashes here.

File details

Details for the file cooldata-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: cooldata-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for cooldata-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c8ac751402b1f84477218428d7622c08bac21b654f0fbd86ef983c1b37a62cf4
MD5 86c28bfa2d3be8befc2fe030bb0ad10e
BLAKE2b-256 5d690e0c611d9d7b91e0b93994f2bd222ee30d4729caef0a5d65400906570c3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page