Testing done using a Canon EOS 600D and a Canon EF-S18-55mm f/3.5-5.6 IS II.
- VBAT
- DET (common with P-GND on lens side)
- P-GND
- VDD
- DCL
- DLC
import numpy as np | |
from sklearn.model_selection import train_test_split | |
import torch | |
import torch.nn as nn | |
from torch.autograd import Variable | |
np.random.seed(1337) | |
MAX_LEN = 30 |
#!/usr/bin/env python | |
# | |
# Copyright (c) Diligent Robotics, 2018 | |
# Copyright (c) Adam Allevato, 2018 | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, this |
By Qin Yu, last updated in Feb 2024. I hope this will save time for everyone.