Coder Social home page Coder Social logo

marek094 / calabi_yau_metrics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philippdahlinger/calabi_yau_metrics

0.0 0.0 0.0 165 KB

Project of the Log ML summer school to predict Calabi-Yau metrics

License: MIT License

Shell 0.75% Python 83.48% Jupyter Notebook 15.77%

calabi_yau_metrics's Introduction

MLGeometry

Higher dimensional computational geometry using machine learning software

  • Kahler geometry and Kahler-Einstein metrics

More to come.

Set up the environment

  1. Install conda via Anaconda or Miniconda

  2. Install the jupyter notebook in the base environment:

    conda install -c conda-forge notebook
    conda install -c conda-forge nb_conda_kernels
    conda install -c conda-forge cudatoolkit=11.8.0
    
  3. Create the environment with necessary packages:

    conda create -n MLGeometry pip tensorflow-probability sympy matplotlib ipykernel
    
  4. Activate the environment and install Tensorflow:

    conda activate MLGeometry
    python3 -m pip install nvidia-cudnn-cu11==8.6.0.163 tensorflow==2.12.*
    mkdir -p $CONDA_PREFIX/etc/conda/activate.d
    echo 'CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)"))' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    echo 'export LD_LIBRARY_PATH=$CONDA_PREFIX/lib/:$CUDNN_PATH/lib:$LD_LIBRARY_PATH' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    source $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    
  5. Verify install:

    python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
    
  6. Open Jupyter with jupyter-notebook in the command line, and change the kernel in Kernel -> Change kernel -> Python [conda env:MLGeometry]

  7. Clone the repository

    git clone https://github.com/yidiq7/MLGeometry/
    

    Or download the released version here

calabi_yau_metrics's People

Contributors

philippdahlinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.