Git Product home page Git Product logo

camd's People

Contributors

alfredliu-tri avatar dependabot-preview[bot] avatar dependabot[bot] avatar jensstrabo avatar josephmontoya-tri avatar murataykol-tri avatar raulf2012 avatar raylei-tri avatar steventorrisi-tri avatar weikeye-tri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camd's Issues

Update s3 tests to use unique prefix

Right now CI is limited to one test at a time because we're storing the state of the worker, meta_agent_test in the same place. I think we should provision the tests to use a unique prefix so tests can run in parallel (e. g. with a uuid or something).

Initialization

As of right now, the campaign bears the responsibility of choosing data. This is a decision, and I believe should be the purview of the agent. Also, the current initialization logic does not guarantee that the seed will be populated (for example if all of the experiments in the initialization fail). I think we should discuss initialization logic, where it belongs, and how to implement it.

Unexpected type

The issue line here.

apply_gradients expects a list, but receives an iterator (from call to zip, which returns an iterator). Should we convert to list for Python 3 compatibility?

Windows compatibility

CAMD is not currently windows compatible because of the qmpy dependency. GH Actions enables a relatively straightforward windows CI that should be enabled once this is resolved.

ImportError: cannot import name 'Composition' from 'pymatgen' (unknown location)

I am running Ubuntu 18.04.5 LTS, I created the python3.7 virtual environment for the installation:
mkvirtualenv -p /usr/bin/python3.7 camd

I installed pymatgen==2020.12.31
and proceeded

git clone https://github.com/TRI-AMDD/CAMD.git
cd CAMD
pip install numpy
pip install -r requirements.txt
python setup.py develop

I ran the tri hackathon 2020 tutorial here , in CAMD_tutorial.ipynb, when running the cell:

# Load the data
from hackathon.helper import load_tutorial_data
data = load_tutorial_data()
# Inspect the first five rows
data.head()

I get the error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-38-adaecc4da224> in <module>
      1 # Load the data
----> 2 from hackathon.helper import load_tutorial_data
      3 data = load_tutorial_data()
      4 # Inspect the first five rows
      5 data.head()

~/tri-hackathon-2020/hackathon/helper.py in <module>
      1 # Copyright 2020 Toyota Research Institute
      2 
----> 3 from camd.analysis import AnalyzerBase
      4 from matminer.datasets.convenience_loaders import load_elastic_tensor
      5 

~/CAMD/camd/analysis.py in <module>
     18 from qmpy.analysis.thermodynamics.space import PhaseSpace
     19 from multiprocessing import Pool, cpu_count
---> 20 from pymatgen import Composition
     21 from pymatgen.entries.computed_entries import ComputedEntry
     22 from pymatgen.analysis.phase_diagram import (

ImportError: cannot import name 'Composition' from 'pymatgen' (unknown location)

Please advise.

Update gpflow to 2.0 API

We're using gpflow 1.5's implementation and API for the SVGP, but the api has changed significantly for their latest version. There's some info on this here, which should be able to partially guide us, but will likely take some time.

Coverage issue

Coverage in the docker container we're using for testing doesn't seem to be working. Will investigate and update this issue.

qmpy dependency

Currently, CAMD depends on a custom fork of qmpy, which was used to ensure python3 compatibility. qmpy has recently updated their github repo to be python3 compatible, but I don't think they've released yet. When they do, we should explore reintegrating the official version.

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.