GithubHelp home page GithubHelp logo

dan's People

Contributors

davidanastasiu avatar yli2021 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dan's Issues

Unable to Create Conda Environment Due to PackagesNotFoundError

Description:
When attempting to create a Conda environment with Python version 3.8.8, the process fails with a PackagesNotFoundError. The error message indicates that the required Python version is not available from the current channels.

Error Message:

Retrieving notices: ...working... done
Channels:
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.8.8*

Current channels:

  - defaults

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Proposed Solution:
To resolve this issue, creating the environment again using the conda-forge channel. Run the following command:

conda create -n DAN python=3.8.8 -c conda-forge

AttributeError: 'DAN' object has no attribute 'compute_metrics'

@YLi2021 I encountered an error while executing main-Saratoga.ipynb. I reviewed the source code in this project and indeed couldn't find a method named "compute_metrics" in DAN.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[7], line 4
      2 from models.DAN_M import *
      3 model = DAN(opt,ds)
----> 4 metrics = model.compute_metrics(Inference_dir)
      5 print("RMSE: ", np.array(metrics[0][0]))
      6 print("MAPE: ", np.array(metrics[1][0]))

AttributeError: 'DAN' object has no attribute 'compute_metrics'
Screenshot 2024-04-30 at 8 47 24 PM

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.