Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get an error #60

Open
kelopuu opened this issue Apr 1, 2023 · 3 comments
Open

get an error #60

kelopuu opened this issue Apr 1, 2023 · 3 comments

Comments

@kelopuu
Copy link

kelopuu commented Apr 1, 2023

Traceback (most recent call last):
File "C:\Users\kelot\Downloads\Pine-master\Pine-master\pine.py", line 14, in
pine.start(ENABLE_AIMBOT=True)
File "C:\Users\kelot\Downloads\Pine-master\Pine-master\lib\pine.py", line 95, in start
ln = [ln[i[0] - 1] for i in net.getUnconnectedOutLayers()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kelot\Downloads\Pine-master\Pine-master\lib\pine.py", line 95, in
ln = [ln[i[0] - 1] for i in net.getUnconnectedOutLayers()]
~^^^
IndexError: invalid index to scalar variable.

@agreed31579
Copy link

same

@zyklone4096
Copy link

+1

@sean05112142
Copy link

for me it worked to modify this line

ln = [ln[i[0] - 1] for i in net.getUnconnectedOutLayers()]

to this

ln = [ln[i - 1] for i in net.getUnconnectedOutLayers()]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants