IndicoDataSolutions/Foxhound

commit glitch

Opened this issue · 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)`

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

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)