Comments (9)
@keisen thank you for considering to publish to Anaconda. I have found two examples of GitHub actions created by other users, here and here.
And here is some info regarding how to set up meta.yaml, the metadata file for conda.
Perhaps these could be of help.
from tf-keras-vis.
@amizeranschi , Thank you for pointing out and information!
I've never used anaconda so far, so your comments are very helpful for me.
I'm going to read the articles and to tackle to manually publish without github actions at first.
Thank you so much!
from tf-keras-vis.
@amizeranschi , Thank you for your request!
I believe, as you said, we should publish tf-keras-vis
to both pip and conda repositories for all users.
I will do it in v0.7.0 or higher.
Of course, I'm so happy if you submit PullRequest that add GIthub Actions to publish to conda (i.e., .github/workflows/*.yml
) !
Thanks!
from tf-keras-vis.
I failed, so reopen this issue and am going to investigate the cause.
from tf-keras-vis.
@keisen thank you for looking into this. What kind of trouble are you having?
If it helps, I found a tutorial for creating a Conda package from a pre-existing PyPI package: https://docs.conda.io/projects/conda-build/en/stable/user-guide/tutorials/build-pkgs-skeleton.html
Make sure to check the Prerequisites, as well: https://docs.conda.io/projects/conda-build/en/stable/user-guide/getting-started.html#prereqs
from tf-keras-vis.
@amizeranschi , Thank you for your response and the information! I'll read them.
What kind of trouble are you having?
I forgot to append the link below:
https://github.com/keisen/tf-keras-vis/runs/2919754030?check_suite_focus=true
I've attempted the GithubActions recipe you suggested, but the result was failed as above.
I believe that my meta.yaml has any problem, but I don't know what it is so far.
Thanks!
from tf-keras-vis.
Honestly that error is a bit confusing to me as well, I'm not skilled enough in Python development.
My guess is that the problem is with the configuration of conda channels, as mentioned here:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 698, in fetch_repodata_remote_request
resp.raise_for_status()
File "/root/miniconda3/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: None for url: file:///github/workspace/noarch/repodata.json
and
conda.exceptions.UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: workspace
channel url: file:///github/workspace
error code: 404
You might want to check your Conda channel configuration and adjust it somehow, using your personal Anaconda channel.
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
Have a look at the following pages, which show the steps of creating and uploading a package to Anaconda and/or Conda-forge:
https://giswqs.medium.com/building-a-conda-package-and-uploading-it-to-anaconda-cloud-6a3abd1c5c52
from tf-keras-vis.
I'm glad I could help. Thanks again for working on this and please let me know if I can bring any further assistance.
from tf-keras-vis.
Hi, is there any update on this issue?
from tf-keras-vis.
Related Issues (20)
- 'NoneType' object has no attribute 'ndim' HOT 1
- AttributeError: 'NoneType' object has no attribute 'ndim' HOT 1
- 'Tensor' object has no attribute 'ndim' HOT 1
- scorecam seems to be weighting all feature maps equally
- How to output the visualization intermediate layer
- TypeError: '<=' not supported between instances of 'int' and 'str'
- Add a Citation widget to the repo HOT 1
- Feature request: Support Python 3.10 HOT 4
- if vision transformers are supported ?
- cannot use BinaryScore HOT 3
- How to use the package with one dimensional data? HOT 1
- Problems with TF 2.9 HOT 2
- Incorrect implementation of LayerCam HOT 1
- It does not work with models with custom layers. HOT 3
- Reconstruction Error Score? HOT 2
- 'Tensor' object has no attribute 'ndim' HOT 5
- Tutorials on using 3D data
- GradCAM does not detect correct convolutional layer in multi-input case HOT 1
- Is it possible to compute the full inference at the same time as the activations? HOT 2
- value_range param is ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf-keras-vis.