|
|
|
|
|
by parados
233 days ago
|
|
Sort-of agree, but then I saw this code in the Visualiser[0] try:
import matplotlib.pyplot as plt
except Exception:
plt = None
class Visualizer:
def animate_combined(
# Stuff...
):
# Stuff...
try:
import numpy as np
except Exception:
print("numpy is required for animation")
return
if plt is None:
print("matplotlib not available - cannot animate")
return
Is AI really that bad? Or has it been written by a human?[0] https://github.com/sql-hkr/tiny8/blob/main/src/tiny8/visuali... |
|
`from typing import List`
(I'm yet to see a model be trained on modern-biased python enough to not bother with that import)