davidanastasiu / dan Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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
@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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.