This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $1 is the first argument | |
# remove result.txt | |
#rm output/result.txt | |
fname=`echo "$1" | awk -F "/" '{print $(NF)}'` | |
# convert the pdf to a group of tiffs | |
if [ ! -e extracted_tz_parliament/$fname.txt ]; | |
then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
from fastai.text import * | |
import html | |
LANG='fr' | |
def preprocess_wiki_lm(path): | |
DATA = Path(path) | |
trn_df = pd.read_csv(DATA/'train.csv', header=None) | |
val_df = pd.read_csv(DATA/'valid.csv', header=None) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.google.com/presentation/d/1nApyvRZSAdvomrgaWNRuP90UVAlp6OufnU7Vpo0a1Ck/edit?usp=sharing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import the necessary packages | |
import ast | |
import logging | |
from PIL import Image | |
import numpy as np | |
import settings | |
import helpers | |
from classes import disease_classes | |
from quart import Quart, request, jsonify | |
import redis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://maps.googleapis.com/maps/api/staticmap?key=YOUR_API_KEY¢er=47.65,-122.35000000000002&zoom=12&format=png&maptype=roadmap&style=element:geometry%7Ccolor:0xf5f5f5&style=element:labels.icon%7Cvisibility:off&style=element:labels.text.fill%7Ccolor:0x616161&style=element:labels.text.stroke%7Ccolor:0xf5f5f5&style=feature:administrative.land_parcel%7Celement:labels%7Cvisibility:off&style=feature:administrative.land_parcel%7Celement:labels.text.fill%7Ccolor:0xbdbdbd&style=feature:poi%7Celement:geometry%7Ccolor:0xeeeeee&style=feature:poi%7Celement:labels.text%7Cvisibility:off&style=feature:poi%7Celement:labels.text.fill%7Ccolor:0x757575&style=feature:poi.park%7Celement:geometry%7Ccolor:0xe5e5e5&style=feature:poi.park%7Celement:labels.text.fill%7Ccolor:0x9e9e9e&style=feature:road%7Celement:geometry%7Ccolor:0xffffff&style=feature:road.arterial%7Celement:labels.text.fill%7Ccolor:0x757575&style=feature:road.highway%7Celement:geometry%7Ccolor:0xdadada&style=feature:road.highway%7Celement:labels.text.fill%7Ccolor: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# This file is part of PyBOSSA. | |
# | |
# PyBOSSA is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SNO | Organisation unit/Data | Adolescents (10-14 years) presenting with pregnancy | Adolescents (15-19 years) presenting with pregnancy | Total | |
---|---|---|---|---|---|
1 | Nairobi County | 2028 | 9706 | 11734 | |
2 | Kakamega County | 217 | 6469 | 6686 | |
3 | Homa Bay County | 451 | 5481 | 5932 | |
4 | Nakuru County | 456 | 5427 | 5883 | |
5 | Kajiado County | 824 | 5010 | 5834 | |
6 | Narok County | 310 | 5275 | 5585 | |
7 | Bungoma County | 151 | 5426 | 5577 | |
8 | Meru County | 209 | 5047 | 5256 | |
9 | West Pokot County | 290 | 4722 | 5012 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat dllist | parallel -j 8 rsync -aHvxz --relative [email protected]:/path/to/files/./{} . |
OlderNewer