Questions tagged as 'python-3.x'

0
answers

Is Tensorflow not compatible with all PCs?

I feel like I'm dealing with an internal TensorFlow error. I am trying to replicate the convoluted neuronal network developed by David Shahrestani for the Kaggle classification competition for toxic comments. Clonolo on Github here . I hav...
asked by 12.03.2018 / 19:03
0
answers

How to adapt one database in the form of another?

I try to create a neural network with a long-term short-term memory layer to classify the toxic comments for the Kaggle competition . In the original database we have in train: ... ['id', 'comment_text', 'toxic', 'severe_toxic', 'obscene', 't...
asked by 15.03.2018 / 16:52
0
answers

Help with audio graphic display in python

Hi, I have the following code to generate a graphic audio visualizer but after a modification I made it I could not make it work anymore. And two proclems with the code are presented to me. 1.-I get an error that I do not know how to solve...
asked by 26.03.2018 / 04:02
0
answers

Error and slow response in specgram matplitlib

I've been working on an audio spectrum analyzer in pyqt with python, I have almost finished just that I have 3 last situations, 1.- It is very slow when making the representation of the file, that is to say in general the program is slow...
asked by 26.03.2018 / 03:00
0
answers

Get color by clicking PyQt5

Hello basically I want to know how to get the color of some element by clicking on it. Now try invoking PyQt Color Picker widget: def color_picker(self): color = QtGui.QColorDialog.getColor() self.styleChoice.setStyleSheet("QWidget...
asked by 08.03.2018 / 06:08
0
answers

Generate an audio track animation

I would like to know how to make an animation with any sound like the one in the following image: I have searched how to do it but I can not find much information. This I have tried: import wave import struct import sys import nump...
asked by 23.03.2018 / 08:12
0
answers

How to transform a dict into a byte?

I am trying to test the code given by Sachin Joglekar in a project on convolutional neural networks to classify toxic comments using python3. But I have numerous problems when configuring my computer for it .. At the moment when I use token...
asked by 12.03.2018 / 00:37
2
answers

Python: open txt file in different folder

I have the following hierarchy > Project > App1 > folder1 > main.py > App2 > folder1 > folder2 > file.txt I want to op...
asked by 08.03.2018 / 18:11
1
answer

Shadow effect error, blur in PyQt

I am generating a small interface but when I try to add a shadow effect (DropShadowEffect) and a blur () effect, it throws me an error: This is my code. import sys from PyQt5.QtWidgets import QMainWindow, QApplication ,QLabel, QGraphicsEffe...
asked by 08.03.2018 / 21:25
0
answers

Personalized Menubar PyQt

Hello, I have a project for which I'm doing a menu bar. However I want to know how I can move the menus that are added and how I can change its content and its background color is to say that it can handle all the properties. I want to get...
asked by 03.03.2018 / 21:04