Comments (4)
@cncoleman Thanks for reaching out! This is kind of interesting--my hunch is that the Docker image you are interacting with was created before 19947f3#diff-399d4153eb7850d9e753a39ce95351db landed. That's the commit that specified the tensorflow version should be <=2.x (e.g. it specified that tensorflow should be 1.x).
Recommended path forward
If I were you, I would destroy the image: docker rmi pixplot
. Then I'd run a fresh clone and create the docker image again following the steps in the readme.
For the brave and true
Alternatively, you could drop a shell into your container (the instance of your pixplot image) by running:
# create an instance of the pixplot image
docker run -dit \
-v $(pwd)/output:/pixplot/output \
-v /Users/my_user/Desktop/my_images:/pixplot/images \
-p 5000:5000 \
pixplot
# list all containers and look for the most recent pixplot container
docker ps -a
# drop a shell into the container
docker exec -it {{ CONTAINER_ID, e.g. c9989785d56c }} /bin/bash
Then, once you're inside the container, you could manually update the container:
# upgrade setuptools
pip install setuptools -U
# install tensorflow 1.x
pip install tensorflow==1.15.0
# run all the commands manually
cd pixplot && python3.6 utils/process_images.py images/*.jpg && \
python3.6 -m http.server 5000
All of that said, I would just reclone and rebuild the image and container if I were you!
If you give either approach a go, I'd be happy to help with any follow up questions you might have!
from pix-plot.
@duhaime Thank you for your help. I was actually using the recent container image but I did as you instructed. "Recommened Path Forward." It threw the same errors. I went into requirements.txt and changed it to tensorflow>=1.8.0,<2.0.0 (e.g. I removed the = so it 2.0 is not an option). That worked much better. The only error I see now is
ERROR: tensorflow 1.15.0 has requirement numpy<2.0,>=1.16.0, but you'll have numpy 1.14.3 which is incompatible.
At this point perhaps I'll move forward with your suggestion to drop a shell into the container and edit. Will let you know.
from pix-plot.
Works to remove the "<=" and replace with "<" while also updating setuptools in the container.
from pix-plot.
!egads! that's a bad typo! You're quite right, just < is intended. Thank you for identifying that!
from pix-plot.
Related Issues (20)
- Metadata tag filter filename too long errors
- Dependency Requirements Issue HOT 1
- Image not displayed on iPad
- Download metadata for additional metadata fields HOT 1
- Add option to download metadata file for UMAP clusters like that for manually created clusters
- Best way to make a smaller "PixPlot" HOT 2
- metadata / custom fields HOT 1
- Bug with get_heightmap and umap layouts HOT 3
- HDBSCAN not available HOT 5
- Non-OK status: "platform is already registered with name: "METAL"
- Non-OK status: "platform is already registered with name: 'METAL'"
- Improper duplicate name validation in filter_images() HOT 5
- gbk code issue
- How would YaleDH like PixPlot to be ited?
- How would YaleDH like Pixplot to be cited?
- Associating filenames and clusters HOT 1
- Demo websites are down
- ThreeJS error when selecting lat/long view
- Sample data downloads are broken
- Could not build wheels for scipy, HOT 6
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 pix-plot.