Are you sure you want to delete this access key?
##STEPS:
https://github.com/forghmc/ShopTalk.git
Download following files from gdrive - https://drive.google.com/drive/folders/14BcyjB7wbvvgy9g3_suVVey4yufOfz24
Goto setenv.sh in parent folder edit the paths and keys make sure the secret keys are set and csv path should be same as the downloaded file is kept.
After setting variables Run setenv.sh if needed gives executable permission
chmod +x setenv.sh
sh setenv.sh
conda create -p ./env python=3.10 -y
conda activate ./env
pip install -r generate_request/requirements.txt'
Make sure your path to image in appv2.py are pointing towards extracted resized image folder
Update the path the 'processed_dataset_target_data_with_captions_only.csv' in appv2 file.
Set pine cone key in env with "export pkey=" and also update index_name.
Then
streamlit run appv2.py
python -m streamlit run appv2.py
ps -ef | grep streamlit | grep -v grep | awk '{print $2}' | xargs kill
Return to your normal shell by typing:
deactivate
MLFLOW_TRACKING_URI=https://dagshub.com/someshnaman/End_to_end_MLOPS_project.mlflow MLFLOW_TRACKING_USERNAME=someshnaman MLFLOW_TRACKING_PASSWORD=6e7e6b4e21fb207c4cbf0d4d7f20506e23e748cc python script.py
Run this to export as env variables:
export MLFLOW_TRACKING_URI=https://dagshub.com/someshnaman/End_to_end_MLOPS_project.mlflow
export MLFLOW_TRACKING_USERNAME=someshnaman
export MLFLOW_TRACKING_PASSWORD=6e7e6b4e21fb207c4cbf0d4d7f20506e23e748cc
#with specific access
1. EC2 access : It is virtual machine
2. ECR: Elastic Container registry to save your docker image in aws
#Description: About the deployment
1. Build docker image of the source code
2. Push your docker image to ECR
3. Launch Your EC2
4. Pull Your image from ECR in EC2
5. Lauch your docker image in EC2
#Policy:
1. AmazonEC2ContainerRegistryFullAccess
2. AmazonEC2FullAccess
- Save the URI: 023110776410.dkr.ecr.us-east-1.amazonaws.com/shoptalk
streamlit run app.py
ps -ef | grep streamlit | grep -v grep | awk '{print $2}' | xargs kill
#optinal
sudo apt-get update -y
sudo apt-get upgrade
#required
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker ubuntu
newgrp docker
setting>actions>runner>new self hosted runner> choose os> then run command one by one
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION = us-east-1
AWS_ECR_LOGIN_URI = demo>> 566373416292.dkr.ecr.ap-south-1.amazonaws.com
ECR_REPOSITORY_NAME = simple-app
MLflow
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?