[Wandb] Attribute Error: module'wandb' has no attribute'init'

``` AttributeError: module 'wandb' has no attribute 'init' ``` I got an error. It should have worked before ... ``` pip install --upgrade wandb ``` Then it worked

Put Jupyter and Docker Compose on your Chromebook and use it as a light development environment!

# Preface Chromebook is a browser only, a machine that is premised on using the Internet, It is easy to think that You can actually use it as a simple Linux machine. * Browsing, email, Office,

python descriptor

A descriptor is a class that has the following methods. |Method|Call timing| |---|---| |__get__(self,obj,type)|When retrieving attributes| |__set__(self,obj,value)|When setting attributes| |__d

tar.gz cannot be expanded

# Introduction When I tried to extract the tar.gz file with tar, I encountered an event that an error occurred and it did not work, so I tried to summarize the troubleshooting and solution. # Conclu

DRBD + CryptSetup + PaceMaker on CentOS7 ACT / SBY

# Introduction Build the server with ACT / SBY # environment ||version|Remarks| |:---|:---|:---| |CentOS|7.4|| |DRBD|9.0|| |cryptSetup|2.0.3|| |paceMaker|1.1.20-5.el7_7.2|| |corosync|2.4.3

What to do if the user name is changed and the pyenv library path does not pass

# Overview If the user name is changed and the home directory is renamed, pyenv may get stuck. This is because the python path referenced by the library in pyenv's environment is usually in your home

[Python] Understand list slicing operations in seconds

# at first I think it will explain how I read slices. If you are a beginner and want to use Sassa and Slice, please read it. When I googled "How to use python slices", all the articles were writte

Connection pooling with Python + MySQL

How to do connection pooling with MySQL in Python and what to do with it. ## mysql-connector-python MySQLConnectionPool issue First, if you simply want to create a connection with the official MySQ

About the error I encountered when trying to use Adafruit_DHT from Python on a Raspberry Pi

# Introduction When I tried to handle the temperature / humidity sensor [AM2302](https://akizukidenshi.com/catalog/g/gM-07002/) on the Raspberry Pi with Python using the package Adafruit_DHT, an erro

If you're a man, just shut up and tell him to stand up with a stick

Recently I'm addicted to reinforcement learning. When doing reinforcement learning, it's a man who wants to stand a stick after all. So, I will introduce the <font color = "MediumVioletRed"> CartPole

One-dimensional and two-dimensional vertex detection processing

# One-dimensional vertex detection When the convolution process is performed with [-1, 1], the rising part becomes a value exceeding 0 and the falling part becomes less than 0. Using this, an ascendi

A shell script that numbers duplicate names when creating files

## Script overview --Create an empty file with the file name specified by the argument --If a file with the same name already exists, number it and create it. --If a numbered file also exists, cr

Using X11 with ubuntu18.04 (C)

X11 library installation ```bash sudo apt update (sudo apt upgrade) sudo apt install libx11-dev ``` ```c #include <X11/Xlib.h> //Includes required for Xlib #include <X11/Xutil.h> ```

WEB application development using Django [Django startup]

Premise / Environment - MacbookPro2017 13inch macOS Catalina 10.15.6 Python 3.6 Djanngo version 3.1.1 ← I forgot to write the installation procedure. I may write it soon. Create a project and chec

Beginners can use Python for web scraping (1) Improved version

This article is a source improved version of the previous article [Beginners Web Scraping with Python (1)](https://qiita.com/inoken0926/items/bc18035925549c85727f). By changing the usage of the bs4

AttributeError:'NoneType' object has no attribute'loader'

# At the beginning This time, I will write what to do when an error like the one in the title occurs, based on my actual experience. # error contents ```terminal Error processing line 3 of /home/cjo

Building a Docker working environment for R and Python 2: Japanese support

# Introduction I posted the following article the other day and introduced the Dockerfile that builds an environment where R and Python can be used. [Building Docker working environment for R and

Execute Python code on C ++ (using Boost.Python)

# Introduction Boost.Python is often used when creating a library for Python using C ++, but it can also be used for so-called "embedding" that uses Python code from the C ++ side. Isn't there much

How to run the practice code of the book "Creating a profitable AI with Python" on Google Colaboratory

# Introduction He is the author of the book "Creating a Profitable AI with Python". ![スクリーンショット 2020-09-19 14.27.39.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/206130/3f365430-

django makemigarations createsuperuser

Then, I wrote it last in the models I created last time. #### **`models.py`** ```python def __str__(selef): return selef.name ``` This is the part, but I still don't fully understand it. Whe

Making from scratch Deep Learning ❷ An amateur stumbled Note: Chapter 5

# Introduction I suddenly started studying ["Deep Learning from scratch ❷ --- Natural language processing"](https://www.oreilly.co.jp/books/9784873118369/) Note that I stumbled in Chapter 5. is. Th

What I learned and coded for a function that opens a special Windows folder in Python3 ctypes

I learned the code for a function that opens a special Windows folder using ctypes in Python 3 and the process of writing it. #### **`Open font folder`** ```py import os import ctypes from ctypes

[Python] Isn't it copied even though "copy ()" is done? Beliefs and failures about deep copying

Posted: 2020/9/13 # Introduction This article is about reference assignment, shallow copy, and deep copy. There are already several articles, but this article includes the situation when I noticed

Python set arithmetic

Organize the set operation method in Python set. 【`set`】 * Generate a set. * Literals are wave brackets "{}". ```python X = set([1,2,3,4,5,6,1,1,1]) print(X) # {1, 2, 3, 4, 5, 6} Y = {9,9,9,4,5,

Understand the difference between cumulative assignment to variables and cumulative assignment to objects

* I wrote it in the comments of other people's articles, but I wanted everyone to know it, so I made it an article. ## Objects (values) and variables In Python, None, numbers, functions, classes,

Introductory Python Modules and conditional expressions

# Introduction You learned about conditional expressions using Python if statements. This is the study record! # Overview I'm learning Python. I learned the basic conditional expression by reproduc

Python --Notes when converting from str type to int type

# Introduction Converting from str type to int type is easy to see and unexpectedly error-prone. In this article, I have summarized the points to be aware of when converting from str type to int typ

The concept of reference in Python collapsed for a moment, so I experimented a little.

――I'm not sure if it's right ――I'm not really confident ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/534442/2d6ce403-2b6d-23cc-96ee-495b9d39a116.png)

I was addicted to scraping with Selenium (+ Python) in 2020

iframe Symptom: "The button is displayed on the execution screen, but Element is not found!" → Cause and solution: You cannot find the element unless you switch the iframe one by one. ```python d

AtCoder Beginner Contest 178 Participation Report

# AtCoder Beginner Contest 178 Participation Report [ABC178A - Not](https://atcoder.jp/contests/abc178/tasks/abc178_a) Break through in one and a half minutes. I used xor, but the title was Not (l