I am trying Tensorflow for poets and I can not download the example files.
curl http://download.tensorflow.org/example_images/flower_photos.tgz \
| tar xz -C tf_files
If using cURL doesn't work try using http://download.tensorflow.org/example_images/flower_photos.tgz
in the address bar of your browser. The file should download automatically or you should be prompted.
Then just create the tf_files directory locally:
mkdir tf_files
Finally extract:
tar -xzf flower_photos.tgz -C tf_files
Related
I have a shared link like the below
https://drive.google.com/file/d/1tfBFavijh4UTG4cGqIKwhcklLXUDuY0D/view
but I am unable to download it google colab using the command
wget https://drive.google.com/file/d/1tfBFavijh4UTG4cGqIKwhcklLXUDuY0D/view
Few suggestion on the internet were to use the below command
wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME
but this didn't work. Any help is appreciated!
You can use gdown
!gdown --id 1tfBFavijh4UTG4cGqIKwhcklLXUDuY0D
Add a retry option after certificate check to the command. An example below
wget --no-check-certificate -r 'https://drive.google.com/uc?export=download&id=1tfBFavijh4UTG4cGqIKwhcklLXUDuY0D' -O FILENAME.zip
I've got an app already in the store and need to add additional IAPs using Transporter. I've used lookupMetadata to get the metadata.xml file. I'd like to edit this file then re-upload without having to upload the app again. Looking at the docs, the upload mode states you have to upload the app package:
In upload mode, you must specify these command-line options:
-m upload
-f or -assetFile <.ipa | .pkg> for macOS, Linux, and Windows uploads (for macOS notarization, use -assetFile <.dmg | .pkg | .zip>)
-assetDescriptionAppStoreInfo.plist (-assetDescription is required for Linux and Windows uploads)
-u username
-p password
-k kilobits_per_second *
Has anyone come across this before and is there a solution to uploading just the app metadata.
It turns out that you can upload the itmsp file with just the metadata.xml in it and it works fine.
I validated with this:
iTMSTransporter -m verify -f <path to itmsp file> -u <email> -p <password> -v eXtreme
And uploaded with this:
iTMSTransporter -m upload -u <email> -p <password> -f <path to itmsp file> -k 100000 -v eXtreme
I have trained a Tensorflow Object detection model. I am trying to make a REST request using the tensorflow serving image on docker. (following instruction from https://github.com/tensorflow/serving )
TESTDATA="$(pwd)/serving/tensorflow_serving/servables/tensorflow/testdata/"
docker run -t --rm -p 8501:8501 \
-v "$TESTDATA/my_model:/models/work_place_safety" \
-e MODEL_NAME=work_place_safety \
tensorflow/serving &
I am facing below error message-
$ C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Mount denied:
The source path "C:/Users/Desktop/models/serving/tensorflow_serving/servables/tensorflow/testdata/saved_model_work_place_safety;C"
doesn't exist and is not known to Docker.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
I wonder why its including ";C" at the end of source path and throwing an error.
Any Help is much appreciated.
Thanks
resolved the issue by adding a / before $ in Git bash.
docker run -t --rm -p 8501:8501 \
-v /$TESTDATA/my_model:/models/my_model \
-e MODEL_NAME=my_model \
tensorflow/serving &
What is the value of my_model. Is it saved_model_work_place_safety.
Are you sure that your Saved Objection Detection Model is in the Folder, saved_model_work_place_safety and that Folder is in the path, $(pwd)/serving/tensorflow_serving/servables/tensorflow/testdata/?
If it is not inside testdata, you should mention the correct path, where saved_model_work_place_safety is present.
Folder structure should be something like this =>
saved_model_work_place_safety => 00000123 or 1556272508 or 1 => .pb file and Variables Folder.
I am trying to download a dataset from a website but I can't download the whole folder .. I have to download each file separately which will need a lot of time. I am wondering if there is anyway to download the whole folder at a time??
The website link: http://www.physionet.org/pn4/eegmmidb/
Use wget with the -r switch to turn on mirroring.
This command will do what you want:
wget --no-parent -r http://www.physionet.org/pn4/eegmmidb/
It'll produce a mirror copy of everything from that directory on down.
These two for cycles run in bash should do it:
for S in S{001..109}; do
mkdir ${S}
cd ${S}
for R in R{01..14}; do
file="http://www.physionet.org/pn4/eegmmidb/${S}/${S}${R}.edf"
wget "$file"
wget "${file}.event"
done
cd ..
done
I've SSHed into one of my VPS and I'm trying to install java on it. Not really sure how to go about downloading but I am trying to use wget to download and install JDK7 from the Oracle website.
this file in particular: http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-x64.rpm
To download the file, it requires authentication and I don't know how to do that through wget.
SOmeone please help
# rpm
wget --no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm" \
-O jdk-7-linux-x64.rpm
# ubuntu
wget --no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz" \
-O jdk-7-linux-x64.tar.gz
# then
tar -xzvf jdk-7-linux-x64.tar.gz
refer: https://gist.github.com/scottvrosenthal/11187116
To download the file, it requires authentication and I don't know how
to do that through wget.
To be more accurate it requires license agreement.
If you have SSH access to the server you can copy file using scp command
scp /<path to the file>/jdk-7u40-linux-x64.rpm user-name#server-name:/tmp/
Then you go to the server by ssh and find it in /tmp/ folder