Comments (6)
I can't open link, can you share again with another method.
from game-bot.
PS D:\Downloads\Game-Bot-master> py -3 create_dataset.py Using TensorFlow backend. Using TensorFlow backend. Process Process-1: Traceback (most recent call last): File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\multiprocessing\process.py", line 249, in _bootstrap self.run() File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\multiprocessing\process.py", line 93, in run self._target(*self._args, **self._kwargs) File "D:\Downloads\Game-Bot-master\create_dataset.py", line 48, in listen_mouse with mouse_listener(on_move=on_move, on_click=on_click, on_scroll=on_scroll) as listener: NameError: name 'on_move' is not defined Traceback (most recent call last): File "create_dataset.py", line 76, in <module> main() File "create_dataset.py", line 72, in main listen_keyboard() File "create_dataset.py", line 63, in listen_keyboard listener.join() File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\_util\__init__.py", line 199, in join six.reraise(exc_type, exc_value, exc_traceback) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\six.py", line 692, in reraise raise value.with_traceback(tb) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\_util\__init__.py", line 154, in inner return f(self, *args, **kwargs) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\keyboard\_win32.py", line 237, in _process self.on_press(key) File "C:\Users\Ardit\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\_util\__init__.py", line 75, in inner if f(*args) is False: File "create_dataset.py", line 57, in on_press save_event_keyboard(data_path, 1, key) File "create_dataset.py", line 25, in save_event_keyboard key = get_id(key) File "D:\Downloads\Game-Bot-master\game_control.py", line 13, in get_id return get_keys().index(key) ValueError: 'g' is not in list PS D:\Downloads\Game-Bot-master>
from game-bot.
'g' is included in the list.
Could it contain special characters?
You can write the get_id()
inputs to text file and control it with vim
editor?
from game-bot.
my game_control.py is the same as the one on github, I did not edit anything, and I can see it in the get_keys() list. I don't know how vim works.
from game-bot.
You can share text file with me.
from game-bot.
Hi Im getting same issue it cannot find the key...
from game-bot.
Related Issues (20)
- Many Errors HOT 1
- versions
- some keys wont work HOT 2
- mac support HOT 1
- Error in create_dataset.py HOT 1
- The key presses being passed to game_control.py aren't formatted right
- ImportError: cannot import name 'imresize' from 'scipy.misc' HOT 4
- SyntaxError: invalid syntax
- This project is still being worked on ? HOT 8
- Module not found error
- how do i fix this.
- Traceback (most recent call last): File "C:\Users\OneDrive\Desktop\Game-Bot-master\Game-Bot-master\train.py", line 4, in <module> from get_dataset import get_dataset File "C:\Users\OneDrive\Desktop\Game-Bot-master\Game-Bot-master\get_dataset.py", line 4, in <module> from keras.utils import to_categorical ImportError: cannot import name 'to_categorical' from 'keras.utils' (C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\keras\utils\__init__.py) ------------------ (program exited with code: 1) Press any key to continue . . . HOT 1
- how do i get everything to work HOT 2
- Lots of errors
- issue with imwrite HOT 1
- Gg
- FileNotFoundError: [Errno 2] No such file or directory: 'Data/Model/model.json' HOT 1
- Tensorflow and keras doesn't give me to create_dataset and also code doesn't actually worked then i made everything like readme file so i have no idea what to do
- I can't train or run Ai.py and train.py and i don't know why HOT 1
- ImportError: cannot import name 'imresize' from 'scipy.misc' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from game-bot.