Compare commits
No commits in common. "ad0b45e198db6438472c5e2d631e85524b065336" and "b0030fe87fa2744fa7884a5072ebbfa2de8a4433" have entirely different histories.
ad0b45e198
...
b0030fe87f
2
net.py
2
net.py
@ -239,7 +239,7 @@ class DepthwiseSeparableConvBlock(nn.Module):
|
||||
return x
|
||||
|
||||
class DetailNode(nn.Module):
|
||||
def __init__(self,useBlock=1):
|
||||
def __init__(self,useBlock=0):
|
||||
super(DetailNode, self).__init__()
|
||||
if useBlock == 0:
|
||||
self.theta_phi = DepthwiseSeparableConvBlock(inp=32, oup=32)
|
||||
|
3
train.py
3
train.py
@ -80,9 +80,6 @@ print(f"Clip gradient norm value: {clip_grad_norm_value}")
|
||||
print(f"Optimization step: {optim_step}")
|
||||
print(f"Optimization gamma: {optim_gamma}")
|
||||
|
||||
# 控制台输入
|
||||
model_str = input("Model: ")
|
||||
print(f"Model: {model_str}")
|
||||
|
||||
# Model
|
||||
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
||||
|
Loading…
Reference in New Issue
Block a user