Open kirorotarzan opened 1 month ago
Hi, do you want to save the raw features (e.g. resnet50 features) or the features in the format of a specific approach? (e.g. spade features, padim features etc)
Thank you for your message. If possible, I would like to obtain the features of PatchCore. Best regards.
Excuse me. I've been doing some research, and is it correct to assume that I should use torch.save() to save the model?
Hey, over the weekend I started working on a .export
method for spade and patchcore, but for patchcore it's only the torchscript that gets exported, not yet the onnx format. Need to take a further look at that.
check out the test_patchcore.py file for work so far
Thank you for your response and handling. I have reviewed the code. Personally, if it is possible to save the model in a .pt file and load that .pt file for inference during the next program execution, then using .onnx files is not particularly necessary
Excuse me, I need your help. I have modified a program based on a Streamlit application to run it as a command-line interface (CUI). As an additional process, I want to implement a feature where the extracted features of the training data images can be saved as data (or a model?) and then reloaded when the program is executed again. However, as I am a beginner, I am struggling to implement this properly. I would appreciate it if you could give me some advice. Thank you.