In the current Cyclegan primitive implementation, this following piece of code causes a huge bottle neck in computing the anomaly score.
for c in critic:
critic_extended = critic_extended + np.repeat(c, y_hat.shape[1]).tolist()
@dyuliu discovered that this is caused by concatenating +
, the proposed fix is to use a simple extension of lists extend
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4