This file contains 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
__author__ = 'Siddharth' | |
import requests | |
from bs4 import BeautifulSoup | |
def ranking_list(max_pages): | |
page=1 | |
while page <= max_pages : | |
url="https://www.thenewboston.com/search.php?type=0&sort=reputation&page=" + str(page) | |
source_code= requests.get(url) |
This file contains 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 tensorflow as tf | |
# Import the image | |
image = tf.image.decode_png(tf.read_file("./data/Input_image.png"), channels=1) | |
## Set the variable values here | |
# Offset variables values | |
offset_height= 20 | |
offset_width = 20 | |
# Target variables values |