Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem loading an image dataset into Tensorflow
Post: Problem loading an image dataset into Tensorflow

I was trying to load an image dataset which has 50000 images of cats and dogs. I don't know the code to load the dataset in tensorflow If you want to load a csv file in Machine Learning we should use...
MohammedSohail General Coding Help 1 1,750 Jun-09-2020, 01:47 PM
    Thread: How to load an image dataset into Tensorflow ?
Post: How to load an image dataset into Tensorflow ?

I was trying to load an image dataset which has 50000 images of cats and dogs. I don't know the code to load the dataset in tensorflow If you want to load a csv file in Machine Learning we should use...
MohammedSohail News and Discussions 0 1,232 Jun-09-2020, 01:21 PM
    Thread: I was trying to build a model using neural networks but It says layers not definied
Post: RE: I was trying to build a model using neural net...

Thank you for all your answers. My problem has solved
MohammedSohail General Coding Help 6 7,874 Jun-09-2020, 01:14 PM
    Thread: I was trying to build a model using neural networks but It says layers not definied
Post: RE: I was trying to build a model using neural net...

I have been trying to solve this problem for 3 hours now. I did everything I knew, Searched whole youtube and Stackoverflow and have tried your suggestions as well but nothing seems to work.
MohammedSohail General Coding Help 6 7,874 Jun-08-2020, 04:40 PM
    Thread: I was trying to build a model using neural networks but It says layers not definied
Post: I was trying to build a model using neural network...

ERROR MESSAGE IS DOWN #IMPORTING THE LIBRARIES import tensorflow as tf from tensorflow import keras import numpy as np import matplotlib.pyplot as plt #IMPORT THE DATASET data = keras.datasets.cifar...
MohammedSohail General Coding Help 6 7,874 Jun-08-2020, 03:01 PM
    Thread: How can i change the direction of the ball based on player's xcor and ycor collisions
Post: How can i change the direction of the ball based o...

#I am facing this problem i want to change the direction of the ball based on player's xcor and ycor collision #If player hits the ball from a side example - north. The ball should move in the opposit...
MohammedSohail General Coding Help 0 1,759 May-25-2020, 08:39 AM
    Thread: how can I change xcor and ycor of the turtle if i am using classes
Post: how can I change xcor and ycor of the turtle if i ...

import turtle import time #I have been creating a flappy bird game using turtle module in python #I have come across a problem where i can't change the xcor and ycor of the pipes #please check the c...
MohammedSohail General Coding Help 1 2,363 May-22-2020, 01:34 PM
    Thread: how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Post: RE: how to solve the 'NO SUCH DIRECTORY OR FILE' i...

That is the program I want to execute. I want to print all those columns in my csv file into python
MohammedSohail Data Science 10 15,406 May-07-2020, 08:42 PM
    Thread: 12 years old python turtle program
Post: RE: 12 years old python turtle program

Great start. Keep up the good work
MohammedSohail Code Review 4 2,740 May-07-2020, 08:35 PM
    Thread: I built Tic-Tac-To
Post: RE: I built Tic-Tac-To

The only problem is the game is not breaking when someone wins. It just continuous until all spaces are filled and it says draw. Please fix that. Goodluck
MohammedSohail Code Review 6 3,364 May-07-2020, 08:30 PM
    Thread: [Python Learning]Verifying user name / password in website with simple python code
Post: RE: [Python Learning]Verifying user name / passwor...

It works perfectly fine but,it would be better if you haven't defined the password yet and let the user create one first and then check if the login == registration.
MohammedSohail Code Review 2 2,201 May-07-2020, 08:25 PM
    Thread: how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Post: RE: how to solve the 'NO SUCH DIRECTORY OR FILE' i...

It didn't work either. I dont know what's the problem. I tried all your ideas but it's not working
MohammedSohail Data Science 10 15,406 May-07-2020, 08:17 PM
    Thread: how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Post: RE: how to solve the 'NO SUCH DIRECTORY OR FILE' i...

I have tried that solution but its not working. I am just struck here it says no file or directory found and it says unicode error
MohammedSohail Data Science 10 15,406 May-07-2020, 08:05 PM
    Thread: how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Post: RE: how to solve the 'NO SUCH DIRECTORY OR FILE' i...

its not working Mr.Buran
MohammedSohail Data Science 10 15,406 May-07-2020, 07:59 PM
    Thread: how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Post: how to solve the 'NO SUCH DIRECTORY OR FILE' in pa...

I am not able to run my code. This is my code ############## import pandas as pd df = pd.read_csv("C:'\Users'\User'\Downloads'\weathercsv") print("The size of the data frame is: ", df.shape) ########...
MohammedSohail Data Science 10 15,406 May-07-2020, 07:44 PM
    Thread: Will not print in command prompt
Post: RE: Will not print in command prompt

first save the file at a place and then run your program
MohammedSohail General Coding Help 12 13,082 May-05-2020, 11:34 AM
    Thread: Get input directly as a number?
Post: RE: Get input directly as a number?

yes it is possible use the int function example - int(input('enter a number ')) this way you can take a number directly as a input
MohammedSohail General Coding Help 4 2,200 May-05-2020, 11:27 AM
    Thread: Please review and suggest some modifications about my TIC-TAC-TOE programme
Post: RE: Please review and suggest some modifications a...

No, It works i have tested it more than 10 times By the way this is my first game program and I have posted on a forum for the first time so, If there are some mistakes Please let me know. Thank you.
MohammedSohail Code Review 3 2,373 May-05-2020, 04:45 AM
    Thread: Please review and suggest some modifications about my TIC-TAC-TOE programme
Post: Please review and suggest some modifications about...

#describing the board board = [" ", " ", " ", " ", " ", " ", " ", " ", " "] #making the board def print_board(): print(board[0] + '|' + board[1] + '|' + board[2]) print('-+-...
MohammedSohail Code Review 3 2,373 May-04-2020, 03:22 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020