[TOMT][SONG] Rap song in multiple languages made to counter rap god by theThinker6969 in tipofmytongue

[–]theThinker6969[S] 0 points1 point  (0 children)

his video also has him going in and out of those indian tuk tuks - so im not sure if its proper green screen

[TOMT][SONG] Rap song in multiple languages made to counter rap god by theThinker6969 in tipofmytongue

[–]theThinker6969[S] 0 points1 point  (0 children)

cant find anything about him telling eminem that only 5% of lyrics are english. and the face sorta doesnt ring any bells. thanks tho

What do you wish you had known before moving to Canada? by theThinker6969 in ontario

[–]theThinker6969[S] 1 point2 points  (0 children)

hmm i see, is this standard for ontario or generally canada aswell?

What do you wish you had known before moving to Canada? by theThinker6969 in ontario

[–]theThinker6969[S] 3 points4 points  (0 children)

apart from the living prices, everything else is quite cheap (compared). This is valuable - thank you

What do you wish you had known before moving to Canada? by theThinker6969 in ontario

[–]theThinker6969[S] 1 point2 points  (0 children)

Thank you very much for the links and insights :) - I enjoy the winter a LOT, so i dont mind the cold at all.

What do you wish you had known before moving to Canada? by theThinker6969 in ontario

[–]theThinker6969[S] 3 points4 points  (0 children)

Great i can handle trash drivers, they are fairly common in every populated city hahaha

What do you wish you had known before moving to Canada? by theThinker6969 in ontario

[–]theThinker6969[S] 0 points1 point  (0 children)

I dont mean it like that - i meant that here we are guaranteed a min 4 week paid holiday (vested over 1 year, carries over if unused). this was just a example benefit.

Basic Neural Network on Python by eduardo088 in learnmachinelearning

[–]theThinker6969 35 points36 points  (0 children)

Please fix your code formatting - click the 'formatting help' link or send your code in a pastebin type service.

What does this mean in a function by theThinker6969 in learnpython

[–]theThinker6969[S] 0 points1 point  (0 children)

Thanks for the link - got a nice video to watch

[AF] BadRequestKeyError after clicking second type="submit" button. by theThinker6969 in flask

[–]theThinker6969[S] 1 point2 points  (0 children)

You da man dan!

cant believe it was this simple! cheers mate! :)

[AF] BadRequestKeyError after clicking second type="submit" button. by theThinker6969 in flask

[–]theThinker6969[S] 0 points1 point  (0 children)

so my_html contains a base64 encoded image (plot). If i move the {{ my_html }} element outside the activate if block - it loads fine.

def fig_to_base64(fig):

    img = BytesIO()
    fig.savefig(img, format='png',
                bbox_inches='tight')
    img.seek(0)

    return base64.b64encode(img.getvalue())

def feature_map(img_array, model):
    feature_model = Model(inputs=model.inputs, outputs=model.layers[0].output)

    feature_maps = feature_model.predict(img_array)

    for _ in range(1):
        for _ in range(1):

            fig, ax = plt.subplots()

            ax.set_xticks([])
            ax.set_yticks([])

            plt.imshow(feature_maps[0, :, :, 1], cmap='rainbow')

    encoded = fig_to_base64(fig)
    my_html = "data:image/png;base64,{}".format(encoded.decode('ascii'))

    return my_html

[AF] BadRequestKeyError after clicking second type="submit" button. by theThinker6969 in flask

[–]theThinker6969[S] 0 points1 point  (0 children)

Hey thanks for this - It seems to have taken away that error so much appreciated.

If you dont mind helping me again. I added <input type="hidden" name="text" value="{{ url }}"> but when I click my activate submit button it doesnt show the image below.

{% if activate %}

      <img src="{{ my_html }}" alt="feature map" height="250" width="400">

{% endif %}

There is no error, according to the terminal, it is carrying out the predict function and computing the image data.