Foxhound icon indicating copy to clipboard operation
Foxhound copied to clipboard

commit glitch

Open graphific opened this issue 9 years ago • 2 comments

commit deedf6b9f21892156b27f8d0076f250af9601a3e has introduced a glitch in transforms.py

first 4 lines should be removed:

<<<<<<< Updated upstream
x = [encoder.get(c, 0) for c in x]
x = one_hot(x, n=nc)
=======
x = [encoder.get(c, 2) for c in x]
x = OneHot(x, n=nc)`

graphific avatar Dec 16 '15 21:12 graphific

Hi im facing error due to this same issue, will commenting these lines work ?

#<<<<<<< Updated upstream
#        x = [encoder.get(c, 0) for c in x]
#        x = one_hot(x, n=nc)
#=======
#        x = [encoder.get(c, 2) for c in x]
#        x = OneHot(x, n=nc)
#>>>>>>> Stashed changes

rsingh2083 avatar Mar 07 '16 22:03 rsingh2083

The problem is still present. It keeps throwing an IndentationError. Has anyone figured out how to solve it?? If so, how?? (sorry I'm fairly new to programming in python)

Sanjay-Reddy-S avatar Nov 01 '16 12:11 Sanjay-Reddy-S