You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was try to train this project on windows
the original version is on linux and using python2
I change some code and running this project on windows and using python3
Hope help anyone who need to run on windows
Here is the change :
#python2->python3 #linux->windows
Every print
print '123'
print ('123')
convert_to_tfrecords.py line 64
index = int(path_to_image_file.split("/")[-1].split('.')[0]) - 1
index = int(path_to_image_file.split("\\ ")[-1].split('.')[0]) - 1
reason:
linux path using "/" but windows using "\ "
evaluator.py line 53
for _ in xrange(num_batches):
for _ in range(int(num_batches)):
reason:
evaluator.py line 12
num_batches = num_examples / batch_size
in python2 division is int type but in python3 division is float type
The text was updated successfully, but these errors were encountered:
I was try to train this project on windows
the original version is on linux and using python2
I change some code and running this project on windows and using python3
Hope help anyone who need to run on windows
Here is the change :
#python2->python3 #linux->windows
Every print
print '123'
print ('123')
convert_to_tfrecords.py line 64
index = int(path_to_image_file.split("/")[-1].split('.')[0]) - 1
index = int(path_to_image_file.split("\\ ")[-1].split('.')[0]) - 1
reason:
linux path using "/" but windows using "\ "
evaluator.py line 53
for _ in xrange(num_batches):
for _ in range(int(num_batches)):
reason:
evaluator.py line 12
num_batches = num_examples / batch_size
in python2 division is int type but in python3 division is float type
The text was updated successfully, but these errors were encountered: