Traceback (most recent call last):


 "./slim/prune/train_prune.py", line 504, in <module>

main(args)


 "./slim/prune/train_prune.py", line 491, in main

train(cfg)


 "./slim/prune/train_prune.py", line 347, in train

only_graph=False)[0]


 "/home/hpc/ccx/paddle1.7/PaddleSlim/paddleslim/prune/pruner.py", line 82, in prune

param_t = np.array(scope.find_var(param).get_tensor())
AttributeError: 'NoneType' object has no attribute 'get_tensor'

Traceback (most recent call last):


 "ASM.py", line 890, in <module>

main(keychain,sw1,output_path,c1)


 "ASM.py", line 623, in main

if (add_target_ip(target_list,line) == False):


 "ASM.py", line 384, in add_target_ip

add_target_domain(list,domain,validated_input)


 "ASM.py", line 356, in add_target_domain

if t.primary_domain in list.keys():
AttributeError: type object 'list' has no attribute 'keys'
