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
There is "Inconsistent indentation: mix of tabs and spaces" error reported in agent.py file(line245--247) , so what is the right code logic for these three lines of code?
if epoch>0 and epoch%20==0 and self.current_epoch != epoch:
self.current_epoch = epoch
if epoch>0 and (epoch == 1000):
self.p.constant_lane_loss += 0.5
There is "Inconsistent indentation: mix of tabs and spaces" error reported in agent.py file(line245--247) , so what is the right code logic for these three lines of code?
if epoch>0 and epoch%20==0 and self.current_epoch != epoch:
self.current_epoch = epoch
if epoch>0 and (epoch == 1000):
self.p.constant_lane_loss += 0.5
I also found this problem . after that , i meet other problem ,Like below:
Traceback (most recent call last):
File "test.py", line 10, in
import agent
File "/home/share/make/PINet/agent.py", line 9, in
from util_hourglass import *
File "/home/share/make/PINet/util_hourglass.py", line 8, in
from parameters import Parameters
File "/home/share/make/PINet/parameters.py", line 8, in
class Parameters():
File "/home/share/make/PINet/parameters.py", line 56, in Parameters
grid_location = np.zeros((grid_y, grid_x, 2))
TypeError: 'float' object cannot be interpreted as an integer Have you encountered this problem ?
Hi,
245: self.p.constant_nonexist += 0.5
246: self.p.l_rate /= 2.0
247: self.setup_optimizer()
The text was updated successfully, but these errors were encountered: