Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimondas Galvelis committed Jul 26, 2023
1 parent e196c8d commit 6481ff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serialization/tests/TestSerializeTorchForce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ void serializeAndDeserialize(TorchForce force) {
}

void testSerializationFromModule() {
string fileName = "../../tests/forces.pt";
string fileName = "tests/forces.pt";
torch::jit::Module module = torch::jit::load(fileName);
TorchForce force(module);
serializeAndDeserialize(force);
}

void testSerializationFromFile() {
string fileName = "../../tests/forces.pt";
string fileName = "tests/forces.pt";
TorchForce force(fileName);
serializeAndDeserialize(force);
}
Expand Down

0 comments on commit 6481ff1

Please sign in to comment.